/php-src/.github/ |
H A D | labeler.yml | 3 - any-glob-to-any-file: 8 - any-glob-to-any-file: 13 - any-glob-to-any-file: 25 - any-glob-to-any-file: 30 - any-glob-to-any-file: 35 - any-glob-to-any-file: 40 - any-glob-to-any-file: 45 - any-glob-to-any-file: 50 - any-glob-to-any-file: 55 - any-glob-to-any-file: [all …]
|
/php-src/ext/standard/tests/file/ |
H A D | glob_variation3.phpt | 2 Test glob() function: ensure no platform difference 9 var_dump(glob("$path/*.none")); 10 var_dump(glob("$path/?.none")); 11 var_dump(glob("$path/*{hello,world}.none")); 12 var_dump(glob("$path/*/nothere")); 13 var_dump(glob("$path/[aoeu]*.none")); 14 var_dump(glob("$path/directly_not_exists"));
|
H A D | glob_variation4.phpt | 2 Test glob() function: ensure no platform difference, variation 2 9 var_dump(glob("$path/*.none")); 10 var_dump(glob("$path/?.none")); 11 var_dump(glob("$path/*{hello,world}.none")); 12 var_dump(glob("$path/*/nothere")); 13 var_dump(glob("$path/[aoeu]*.none")); 14 var_dump(glob("$path/directly_not_exists"));
|
H A D | glob_variation5.phpt | 2 Test glob() function: ensure no platform difference, variation 3 12 var_dump(glob("$path/*.none")); 13 var_dump(glob("$path/?.none")); 14 var_dump(glob("$path/*{hello,world}.none")); 15 var_dump(glob("$path/*/nothere")); 16 var_dump(glob("$path/[aoeu]*.none")); 17 var_dump(glob("$path/directly_not_exists"));
|
H A D | glob_variation6.phpt | 2 Test glob() function: ensure no platform difference, variation 4 11 var_dump(glob("$path/*.none")); 12 var_dump(glob("$path/?.none")); 13 var_dump(glob("$path/*{hello,world}.none")); 14 var_dump(glob("$path/*/nothere")); 15 var_dump(glob("$path/[aoeu]*.none")); 16 var_dump(glob("$path/directly_not_exists"));
|
H A D | glob_basic.phpt | 2 Test glob() function: basic functions 5 echo "*** Testing glob() : basic functions ***\n"; 23 // glob() with default arguments 24 sort_var_dump( glob($dirname."/*") ); 25 sort_var_dump( glob($dirname."/*.txt") ); 26 sort_var_dump( glob($dirname."/*.t?t") ); 27 sort_var_dump( glob($dirname."/*.t*t") ); 28 sort_var_dump( glob($dirname."/*.?") ); 29 sort_var_dump( glob($dirname."/*.*") ); 47 *** Testing glob() : basic functions ***
|
H A D | glob_variation2.phpt | 2 Test glob() function with relative path 17 echo "Testing glob() with relative paths:\n"; 20 var_dump( glob("./*") ); 21 var_dump( glob("../$dir_name/*")); 24 var_dump( glob("$dir_name/*")); 25 var_dump( glob("$dir_name")); 36 Testing glob() with relative paths:
|
H A D | glob_error_002-win32.phpt | 2 Test glob() function: error condition - pattern too long. 12 echo "*** Testing glob() : error condition - pattern too long. ***\n"; 14 glob(str_repeat('x', 3000)); 19 *** Testing glob() : error condition - pattern too long. *** 21 Warning: glob(): Pattern exceeds the maximum allowed length of %d characters in %s on line %d
|
H A D | glob_variation.phpt | 2 Test glob() function: usage variations 14 echo "*** Testing glob() : usage variations ***\n"; 44 using glob() */ 49 var_dump( glob($pattern, GLOB_MARK) ); 50 var_dump( glob($pattern, GLOB_NOSORT) ); 51 var_dump( glob($pattern, GLOB_NOCHECK) ); 52 var_dump( glob($pattern, GLOB_NOESCAPE) ); 53 var_dump( glob($pattern, GLOB_ERR) ); 75 using glob() */ 96 *** Testing glob() : usage variations *** [all …]
|
H A D | glob_variation-win32-mb.phpt | 2 Test glob() function: usage variations 11 echo "*** Testing glob() : usage variations ***\n"; 42 using glob() */ 47 var_dump( glob($pattern, GLOB_MARK) ); 48 var_dump( glob($pattern, GLOB_NOSORT) ); 49 var_dump( glob($pattern, GLOB_NOCHECK) ); 50 var_dump( glob($pattern, GLOB_NOESCAPE) ); 51 var_dump( glob($pattern, GLOB_ERR) ); 73 using glob() */ 94 *** Testing glob() : usage variations *** [all …]
|
H A D | glob_variation-win32.phpt | 2 Test glob() function: usage variations 11 echo "*** Testing glob() : usage variations ***\n"; 41 using glob() */ 46 var_dump( glob($pattern, GLOB_MARK) ); 47 var_dump( glob($pattern, GLOB_NOSORT) ); 48 var_dump( glob($pattern, GLOB_NOCHECK) ); 49 var_dump( glob($pattern, GLOB_NOESCAPE) ); 50 var_dump( glob($pattern, GLOB_ERR) ); 72 using glob() */ 93 *** Testing glob() : usage variations *** [all …]
|
H A D | bug24482.phpt | 5 if (!function_exists("glob")) { 6 die('skip glob() not available'); 16 $globdirs = glob("*", GLOB_ONLYDIR); 30 echo "glob found:\n";
|
H A D | bug41655_2.phpt | 2 Bug #41655 (open_basedir bypass via glob()) 2/2 8 $a=glob($dir . "/test*csv");
|
H A D | bug41655_1-win32.phpt | 2 Bug #41655 (open_basedir bypass via glob()) 1/2 15 $a=glob("./*.jpeg");
|
H A D | bug41655_1.phpt | 2 Bug #41655 (open_basedir bypass via glob()) 1/2 15 $a=glob("./*.jpeg");
|
/php-src/ext/simplexml/tests/ |
H A D | 022.phpt | 10 <pres><content><file glob="slide_*.xml"/></content></pres> 25 var_dump($file['glob']); 36 ["glob"]=> 45 ["glob"]=> 53 ["glob"]=>
|
/php-src/ext/spl/tests/ |
H A D | bug51068.phpt | 2 SPL: glob wrapper interactions with DirectoryIterator 8 $iter = new DirectoryIterator('glob://*.51068'); 13 $iter = new DirectoryIterator('glob://bug.51068.dir/*.51068'); 18 $iter = new DirectoryIterator('glob://bug.51068.dir');
|
/php-src/main/streams/ |
H A D | glob_wrapper.c | 37 glob_t glob; member 87 return pglob->open_basedir_used ? (int) pglob->open_basedir_indexmap_size : pglob->glob.gl_pathc; in php_glob_stream_get_result_count() 150 … php_glob_stream_path_split(pglob, pglob->glob.gl_pathv[index], pglob->flags & GLOB_APPEND, &path); in php_glob_stream_read() 173 globfree(&pglob->glob); in php_glob_stream_close() 231 if (0 != (ret = glob(path, pglob->flags & GLOB_FLAGMASK, NULL, &pglob->glob))) { in php_glob_stream_opener() 244 for (i = 0; i < pglob->glob.gl_pathc; i++) { in php_glob_stream_opener() 245 if (!php_check_open_basedir_ex(pglob->glob.gl_pathv[i], 0)) { in php_glob_stream_opener() 248 pglob->glob.gl_pathc, sizeof(size_t), 0); in php_glob_stream_opener() 270 if (pglob->glob.gl_pathc) { in php_glob_stream_opener() 271 php_glob_stream_path_split(pglob, pglob->glob.gl_pathv[0], 1, &tmp); in php_glob_stream_opener()
|
/php-src/ext/standard/tests/streams/ |
H A D | glob-wrapper.phpt | 7 if (!in_array("glob", stream_get_wrappers())) echo "skip"; 12 foreach ( [ __DIR__, "glob://".__DIR__ ] as $spec) { 32 ** Opening glob://%s 33 No files in glob://%s
|
/php-src/tests/security/ |
H A D | open_basedir_glob.phpt | 8 test_open_basedir("glob"); 16 *** Testing open_basedir configuration [glob] *** 51 *** Finished testing open_basedir configuration [glob] ***
|
H A D | open_basedir_glob_variation.phpt | 2 Test open_basedir configuration for glob 12 var_dump(glob("../globtest*"));
|
/php-src/ext/opcache/tests/ |
H A D | bug78185.phpt | 19 foreach (glob($pattern) as $p) { 30 foreach (glob($pattern) as $p) {
|
/php-src/ext/zip/tests/ |
H A D | bug51353.phpt | 36 $a = glob("$base_path/51353_unpack/*.txt"); 50 $a = glob("$base_path/51353_unpack/*.txt");
|
/php-src/ext/ffi/tests/ |
H A D | 303.phpt | 2 FFI 303: FFI preloading glob
|
/php-src/win32/ |
H A D | glob.h | 99 PHPAPI int glob(const char *, int, int (*)(const char *, int), glob_t *);
|