]> granicus.if.org Git - php/commitdiff
added missing GLOB_BRACE support check
authorChristoph M. Becker <cmbecker69@gmx.de>
Wed, 20 May 2015 18:23:21 +0000 (20:23 +0200)
committerAnatol Belski <ab@php.net>
Thu, 21 May 2015 07:44:18 +0000 (09:44 +0200)
ext/standard/tests/file/glob_variation.phpt

index 00fd6ff3ed4bb8b851b42981edad83e68d2acfb8..9d3b87937941340fdba1a1920b678560f5035747 100644 (file)
@@ -5,6 +5,9 @@ Test glob() function: usage variations
 if (substr(PHP_OS, 0, 3) == 'WIN') {
     die('skip.. Not valid for Windows');
 }
+if (!defined('GLOB_BRACE')) {
+    die('skip this test requires GLOB_BRACE support');
+}
 ?>
 --FILE--
 <?php