Searched refs:fnmatch (Results 1 – 13 of 13) sorted by relevance
/PHP-8.1/ext/standard/tests/file/ |
H A D | fnmatch_basic.phpt | 2 Test fnmatch() function: Basic functionality 5 if (!function_exists('fnmatch')) 14 var_dump( fnmatch("*.php", $file) ); 15 var_dump( fnmatch("*.p*p", $file) ); 16 var_dump( fnmatch("*.p*", $file) ); 17 var_dump( fnmatch("*", $file) ); 18 var_dump( fnmatch("**", $file) ); 22 var_dump( fnmatch(100, 100) ); 24 var_dump( fnmatch(TRUE, TRUE) ); 25 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"); 11 echo "*** Testing fnmatch() with file and various patterns ***\n"; 66 var_dump( fnmatch($pattern_arr[$i], $file_name) ); 82 var_dump( fnmatch($pattern[$i], $string[$j]) ); 140 *** Testing fnmatch() with file and various patterns *** 188 fnmatch(): Argument #1 ($pattern) must not contain any null bytes 190 fnmatch(): Argument #1 ($pattern) must not contain any null bytes 216 *** Testing fnmatch() with other types other than files *** [all …]
|
/PHP-8.1/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-8.1/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-8.1/ext/curl/ |
H A D | interface.c | 1295 if (curl->handlers.fnmatch) { in curl_get_gc() 1419 php_curl_callback *t = ch->handlers.fnmatch; in curl_fnmatch() 1762 ch->handlers.fnmatch = NULL; in init_curl_handle() 1934 if (source->handlers.fnmatch) { in _php_setup_easy_copy_handlers() 1937 ZVAL_COPY(&ch->handlers.fnmatch->func_name, &source->handlers.fnmatch->func_name); in _php_setup_easy_copy_handlers() 2935 if (ch->handlers.fnmatch == NULL) { in _php_curl_setopt() 3494 if (ch->handlers.fnmatch) { in curl_free_obj() 3496 efree(ch->handlers.fnmatch); in curl_free_obj() 3566 if (ch->handlers.fnmatch) { in _php_curl_reset_handlers() 3568 efree(ch->handlers.fnmatch); in _php_curl_reset_handlers() [all …]
|
H A D | curl_private.h | 77 php_curl_callback *fnmatch; member
|
/PHP-8.1/ext/standard/ |
H A D | config.m4 | 313 [Define to 1 if your system has a working POSIX `fnmatch'
|
H A D | file.c | 2443 PHP_FUNCTION(fnmatch) in PHP_FUNCTION() argument 2465 RETURN_BOOL( ! fnmatch( pattern, filename, (int)flags )); in PHP_FUNCTION()
|
H A D | basic_functions.stub.php | 1171 function fnmatch(string $pattern, string $filename, int $flags = 0): bool {} function
|
H A D | basic_functions_arginfo.h | 2586 ZEND_FUNCTION(fnmatch); 3227 ZEND_FE(fnmatch, arginfo_fnmatch)
|
/PHP-8.1/win32/build/ |
H A D | config.w32 | 285 inet.c fnmatch.c sockets.c console.c signal.c");
|
Completed in 48 milliseconds