/PHP-7.0/ext/standard/tests/file/ |
H A D | glob_error.phpt | 2 Test glob() function: error conditions 5 /* Prototype: array glob ( string $pattern [, int $flags] ); 17 echo "*** Testing glob() : error conditions ***\n"; 19 echo "-- Testing glob() with unexpected no. of arguments --\n"; 20 var_dump( glob() ); // args < expected 23 echo "\n-- Testing glob() with invalid arguments --\n"; 24 var_dump( glob(dirname(__FILE__)."/glob_error/wonder12345", '') ); 37 *** Testing glob() : error conditions *** 38 -- Testing glob() with unexpected no. of arguments -- 40 Warning: glob() expects at least 1 parameter, 0 given in %s on line %d [all …]
|
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_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_variation5.phpt | 2 Test glob() function: ensure no platform difference, variation 3 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 /* Prototype: array glob ( string $pattern [, int $flags] ); 9 echo "*** Testing glob() : basic functions ***\n"; 27 // glob() with default arguments 28 sort_var_dump( glob($dirname."/*") ); 29 sort_var_dump( glob($dirname."/*.txt") ); 30 sort_var_dump( glob($dirname."/*.t?t") ); 31 sort_var_dump( glob($dirname."/*.t*t") ); 32 sort_var_dump( glob($dirname."/*.?") ); 33 sort_var_dump( glob($dirname."/*.*") ); [all …]
|
H A D | glob_variation2.phpt | 2 Test glob() function with relative path 5 /* Prototype: array glob ( string $pattern [, int $flags] ); 21 echo "Testing glob() with relative paths:\n"; 24 var_dump( glob("./*") ); 25 var_dump( glob("../$dir_name/*")); 28 var_dump( glob("$dir_name/*")); 29 var_dump( glob("$dir_name")); 40 Testing glob() with relative paths:
|
H A D | glob_error_002-win32.phpt | 2 Test glob() function: error condition - pattern too long. 12 /* Prototype: array glob ( string $pattern [, int $flags] ); 16 echo "*** Testing glob() : error condition - pattern too long. ***\n"; 18 var_dump(glob(str_repeat('x', 3000))); 23 *** Testing glob() : error condition - pattern too long. *** 25 Warning: glob(): Pattern exceeds the maximum allowed length of %d characters in %s on line %d
|
H A D | glob_variation-win32.phpt | 2 Test glob() function: usage variations 45 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) ); 72 using glob() */ 75 var_dump( glob($pattern, GLOB_ONLYDIR) ); 89 *** Testing glob() : usage variations *** [all …]
|
H A D | glob_variation.phpt | 2 Test glob() function: usage variations 48 using glob() */ 52 var_dump( glob($pattern, GLOB_MARK) ); 53 var_dump( glob($pattern, GLOB_NOSORT) ); 54 var_dump( glob($pattern, GLOB_NOCHECK) ); 55 var_dump( glob($pattern, GLOB_NOESCAPE) ); 56 var_dump( glob($pattern, GLOB_ERR) ); 75 using glob() */ 78 var_dump( glob($pattern, GLOB_ONLYDIR) ); 92 *** 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-7.0/ext/simplexml/tests/ |
H A D | 022.phpt | 10 <pres><content><file glob="slide_*.xml"/></content></pres> 25 var_dump($file['glob']); 37 ["glob"]=> 46 ["glob"]=> 54 ["glob"]=>
|
/PHP-7.0/main/streams/ |
H A D | glob_wrapper.c | 41 glob_t glob; member 102 return pglob->glob.gl_pathc; in _php_glob_stream_get_count() 148 if (pglob->index < (size_t)pglob->glob.gl_pathc) { in php_glob_stream_read() 149 …php_glob_stream_path_split(pglob, pglob->glob.gl_pathv[pglob->index++], pglob->flags & GLOB_APPEND… in php_glob_stream_read() 153 pglob->index = pglob->glob.gl_pathc; in php_glob_stream_read() 170 globfree(&pglob->glob); in php_glob_stream_close() 229 if (0 != (ret = glob(path, pglob->flags & GLOB_FLAGMASK, NULL, &pglob->glob))) { in php_glob_stream_opener() 254 if (pglob->glob.gl_pathc) { in php_glob_stream_opener() 255 php_glob_stream_path_split(pglob, pglob->glob.gl_pathv[0], 1, &tmp); in php_glob_stream_opener()
|
/PHP-7.0/ext/standard/tests/streams/ |
H A D | glob-wrapper.phpt | 7 if (!in_array("glob", stream_get_wrappers())) echo "skip"; 11 foreach ( [ __DIR__, "glob://".__DIR__ ] as $spec) { 30 ** Opening glob://%s 34 Warning: opendir(glob://%s): failed to open dir: operation failed in %s%eglob-wrapper.php on line 5 35 Failed to open glob://%s
|
/PHP-7.0/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-7.0/ext/fileinfo/ |
H A D | fileinfo.php | 11 $files = glob("*"); 25 $files = glob("*");
|
/PHP-7.0/ext/gd/tests/ |
H A D | imagegd_nullbyte_injection.phpt | 9 foreach (glob($tempdir . "/test*") as $file ) { unlink($file); } 28 foreach (glob($tempdir . "/test*") as $file ) { unlink($file); }
|
H A D | imagegd2_nullbyte_injection.phpt | 9 foreach (glob($tempdir . "/test*") as $file ) { unlink($file); } 28 foreach (glob($tempdir . "/test*") as $file ) { unlink($file); }
|
H A D | imagejpeg_nullbyte_injection.phpt | 5 foreach (glob($tempdir . "/test*") as $file ) { unlink($file); } 32 foreach (glob($tempdir . "/test*") as $file ) { unlink($file); }
|
H A D | imagewbmp_nullbyte_injection.phpt | 5 foreach (glob($tempdir . "/test*") as $file ) { unlink($file); } 32 foreach (glob($tempdir . "/test*") as $file ) { unlink($file); }
|
H A D | imagewebp_nullbyte_injection.phpt | 5 foreach (glob($tempdir . "/test*") as $file ) { unlink($file); } 32 foreach (glob($tempdir . "/test*") as $file ) { unlink($file); }
|