Skip to content

Commit 9662909

Browse files
cmb69weltling
authored andcommitted
added missing GLOB_BRACE support check
1 parent 6895ae4 commit 9662909

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ext/standard/tests/file/glob_variation.phpt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ Test glob() function: usage variations
55
if (substr(PHP_OS, 0, 3) == 'WIN') {
66
die('skip.. Not valid for Windows');
77
}
8+
if (!defined('GLOB_BRACE')) {
9+
die('skip this test requires GLOB_BRACE support');
10+
}
811
?>
912
--FILE--
1013
<?php

0 commit comments

Comments
 (0)