Searched refs:fnmatch (Results 1 – 13 of 13) sorted by relevance
/PHP-5.3/ext/standard/tests/file/ |
H A D | fnmatch_basic.phpt | 2 Test fnmatch() function: Basic functionality 5 if (!function_exists('fnmatch')) 18 var_dump( fnmatch("*.php", $file) ); 19 var_dump( fnmatch("*.p*p", $file) ); 20 var_dump( fnmatch("*.p*", $file) ); 21 var_dump( fnmatch("*", $file) ); 22 var_dump( fnmatch("**", $file) ); 26 var_dump( fnmatch(100, 100) ); 28 var_dump( fnmatch(TRUE, TRUE) ); 29 var_dump( fnmatch(FALSE, FALSE) ); [all …]
|
H A D | fnmatch_error.phpt | 2 Test fnmatch() function: Error conditions 5 if (!function_exists('fnmatch')) 6 die("skip fnmatch() function is not available"); 15 echo "*** Testing error conditions for fnmatch() ***"; 18 var_dump( fnmatch(array(), array()) ); 21 var_dump( fnmatch($file_handle, $file_handle) ); 25 var_dump( fnmatch($std_obj, $std_obj) ); 29 var_dump( fnmatch("match.txt") ); 30 var_dump( fnmatch("") ); 33 var_dump( fnmatch("match.txt", "match.txt", TRUE, 100) ); [all …]
|
H A D | fnmatch_variation.phpt | 2 Test fnmatch() function: Variations 5 if (!function_exists('fnmatch')) 6 die("skip fnmatch() function is not available"); 10 /* Prototype: bool fnmatch ( string $pattern, string $string [, int $flags] ) 11 Description: fnmatch() checks if the passed string would match 15 echo "*** Testing fnmatch() with file and various patterns ***\n"; 69 var_dump( fnmatch($pattern_arr[$i], $file_name) ); 74 echo "\n*** Testing fnmatch() with other types other than files ***"; 81 var_dump( fnmatch($pattern[$i], $string[$j]) ); 138 *** Testing fnmatch() with file and various patterns *** [all …]
|
/PHP-5.3/ext/standard/tests/filters/ |
H A D | filter_errors.inc | 4 if (!function_exists('fnmatch')) { 5 die('skip fnmatch() not available'); 9 if (fnmatch($filter, $needle)) return;
|
/PHP-5.3/win32/ |
H A D | fnmatch.h | 52 PHPAPI int fnmatch(const char *pattern, const char *string, int flags);
|
H A D | fnmatch.c | 59 PHPAPI int fnmatch(const char *pattern, const char *string, int flags) in fnmatch() function 108 if (!fnmatch(pattern, string, flags & ~FNM_PERIOD)) in fnmatch()
|
/PHP-5.3/scripts/dev/ |
H A D | extern_c.php | 11 } else if (fnmatch("*.h", $file)) {
|
/PHP-5.3/ext/standard/ |
H A D | file.h | 67 PHP_FUNCTION(fnmatch);
|
H A D | file.c | 2573 PHP_FUNCTION(fnmatch) in PHP_FUNCTION() argument 2600 RETURN_BOOL( ! fnmatch( pattern, filename, flags )); in PHP_FUNCTION()
|
H A D | basic_functions.c | 3147 PHP_FE(fnmatch, arginfo_fnmatch)
|
/PHP-5.3/win32/build/ |
H A D | config.w32 | 341 ADD_SOURCES("win32", "inet.c fnmatch.c sockets.c");
|
/PHP-5.3/ |
H A D | UPGRADING | 456 symlink(), link(), fnmatch(), stream_socket_pair(), time_nanosleep(),
|
H A D | NEWS | 1919 - Fixed a possible stack exhaustion inside fnmatch(). Reported by Stefan 2759 . Added support for fnmatch() on Windows. (Pierre) 4025 implementations of the fnmatch(), setlocale() and glob() functions.
|
Completed in 64 milliseconds