Searched refs:fnmatch (Results 1 – 12 of 12) sorted by relevance
/PHP-7.4/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_maxpathlen.phpt | 2 Test fnmatch() function : warning filename or pattern exceeds maxpathlen 5 if (!function_exists('fnmatch')) die('skip fnmatch() function is not available'); 10 var_dump(fnmatch('blah', $longstring)); 11 var_dump(fnmatch($longstring, 'blah')); 14 Warning: fnmatch(): Filename exceeds the maximum allowed length of %d characters in %s on line %d 17 Warning: fnmatch(): Pattern exceeds the maximum allowed length of %d characters in %s on line %d
|
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-7.4/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-7.4/win32/ |
H A D | fnmatch.h | 51 PHPAPI int fnmatch(const char *pattern, const char *string, int flags);
|
H A D | fnmatch.c | 58 PHPAPI int fnmatch(const char *pattern, const char *string, int flags) in fnmatch() function 107 if (!fnmatch(pattern, string, flags & ~FNM_PERIOD)) in fnmatch()
|
/PHP-7.4/ext/curl/ |
H A D | interface.c | 1538 php_curl_fnmatch *t = ch->handlers->fnmatch; in curl_fnmatch() 1901 ch->handlers->fnmatch = NULL; in alloc_curl_handle() 2087 if (source->handlers->fnmatch) { in _php_setup_easy_copy_handlers() 2090 ZVAL_COPY(&ch->handlers->fnmatch->func_name, &source->handlers->fnmatch->func_name); in _php_setup_easy_copy_handlers() 2092 ch->handlers->fnmatch->method = source->handlers->fnmatch->method; in _php_setup_easy_copy_handlers() 3120 if (ch->handlers->fnmatch == NULL) { in _php_curl_setopt() 3675 if (ch->handlers->fnmatch) { in _php_curl_close_ex() 3677 efree(ch->handlers->fnmatch); in _php_curl_close_ex() 3756 if (ch->handlers->fnmatch) { in _php_curl_reset_handlers() 3758 efree(ch->handlers->fnmatch); in _php_curl_reset_handlers() [all …]
|
H A D | php_curl.h | 157 php_curl_fnmatch *fnmatch; member
|
/PHP-7.4/ext/standard/ |
H A D | file.h | 65 PHP_FUNCTION(fnmatch);
|
H A D | file.c | 2484 PHP_FUNCTION(fnmatch) in PHP_FUNCTION() argument 2506 RETURN_BOOL( ! fnmatch( pattern, filename, (int)flags )); in PHP_FUNCTION()
|
H A D | basic_functions.c | 3219 PHP_FE(fnmatch, arginfo_fnmatch)
|
/PHP-7.4/win32/build/ |
H A D | config.w32 | 272 inet.c fnmatch.c sockets.c console.c signal.c");
|
Completed in 40 milliseconds