/PHP-7.4/ext/soap/ |
H A D | php_sdl.c | 1357 type->restrictions->pattern = sdl_deserialize_resriction_char(in); in sdl_deserialize_type() 1952 sdl_serialize_resriction_char(type->restrictions->pattern,out); in sdl_serialize_type() 2766 if (ptype->restrictions->pattern) { in make_persistent_sdl_type() 2767 make_persistent_restriction_char_int(&ptype->restrictions->pattern); in make_persistent_sdl_type()
|
H A D | php_sdl.h | 148 sdlRestrictionCharPtr pattern; member
|
/PHP-7.4/ext/spl/tests/ |
H A D | bug55701.phpt | 7 // Some methods of GlobIterator do not throw a RuntimeException when the glob pattern doesn't match… 8 // Most methods of GlobIterator throw a RuntimeException when the glob pattern does't match any file
|
H A D | class_implements_variation1.phpt | 104 // loop through each element of the array for pattern
|
H A D | class_uses_variation1.phpt | 104 // loop through each element of the array for pattern
|
/PHP-7.4/ext/standard/ |
H A D | basic_functions.c | 931 ZEND_ARG_INFO(0, pattern) 1213 ZEND_ARG_INFO(0, pattern)
|
H A D | browscap.c | 36 zend_string *pattern; member 110 for (; i < ZSTR_LEN(pattern); i++) { in browscap_compute_contains() 114 if (i + 1 < ZSTR_LEN(pattern) && in browscap_compute_contains() 123 for (; i < ZSTR_LEN(pattern); i++) { in browscap_compute_contains() 134 size_t i, len = ZSTR_LEN(pattern); in browscap_compute_regex_len() 136 switch (ZSTR_VAL(pattern)[i]) { in browscap_compute_regex_len() local 164 zend_str_tolower_copy(lc_pattern, ZSTR_VAL(pattern), ZSTR_LEN(pattern)); in browscap_convert_pattern() 371 pattern = zend_new_interned_string(zend_string_copy(pattern)); in php_browscap_parser_cb() 375 zend_string_release(pattern); in php_browscap_parser_cb() 388 entry->pattern = zend_string_copy(pattern); in php_browscap_parser_cb() [all …]
|
H A D | dir.c | 426 char *pattern = NULL; in PHP_FUNCTION() local 435 Z_PARAM_PATH(pattern, pattern_len) in PHP_FUNCTION() 451 if (!IS_ABSOLUTE_PATH(pattern, pattern_len)) { in PHP_FUNCTION() 457 if (IS_SLASH(*pattern)) { in PHP_FUNCTION() 463 snprintf(work_pattern, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, pattern); in PHP_FUNCTION() 464 pattern = work_pattern; in PHP_FUNCTION() 471 if (0 != (ret = glob(pattern, flags & GLOB_FLAGMASK, NULL, &globbuf))) { in PHP_FUNCTION() 500 if (php_check_open_basedir_ex(pattern, 0)) { in PHP_FUNCTION()
|
H A D | file.c | 2486 char *pattern, *filename; in PHP_FUNCTION() local 2491 Z_PARAM_PATH(pattern, pattern_len) in PHP_FUNCTION() 2506 RETURN_BOOL( ! fnmatch( pattern, filename, (int)flags )); in PHP_FUNCTION()
|
/PHP-7.4/ext/standard/tests/file/ |
H A D | fnmatch_basic.phpt | 10 /* Prototype: bool fnmatch ( string $pattern, string $string [, int $flags] ) 12 the given shell wildcard pattern.
|
H A D | fnmatch_maxpathlen.phpt | 2 Test fnmatch() function : warning filename or pattern exceeds maxpathlen
|
H A D | fnmatch_variation.phpt | 10 /* Prototype: bool fnmatch ( string $pattern, string $string [, int $flags] ) 12 the given shell wildcard pattern. 18 /* avoid using \, it breaks the pattern */ 77 function match( $pattern, $string ) { 78 for( $i = 0; $i<count($pattern); $i++ ) { 81 var_dump( fnmatch($pattern[$i], $string[$j]) );
|
H A D | glob_basic.phpt | 5 /* Prototype: array glob ( string $pattern [, int $flags] ); 6 Description: Find pathnames matching a pattern
|
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] ); 13 Description: Find pathnames matching a pattern 16 echo "*** Testing glob() : error condition - pattern too long. ***\n"; 23 *** Testing glob() : error condition - pattern too long. ***
|
H A D | glob_variation-win32-mb.phpt | 11 /* Prototype: array glob ( string $pattern [, int $flags] ); 12 Description: Find pathnames matching a pattern 47 foreach($patterns as $pattern) { 49 var_dump( glob($pattern) ); // default arguments 50 var_dump( glob($pattern, GLOB_MARK) ); 51 var_dump( glob($pattern, GLOB_NOSORT) ); 52 var_dump( glob($pattern, GLOB_NOCHECK) ); 53 var_dump( glob($pattern, GLOB_NOESCAPE) ); 54 var_dump( glob($pattern, GLOB_ERR) ); 74 foreach($patterns as $pattern) { [all …]
|
H A D | glob_variation-win32.phpt | 11 /* Prototype: array glob ( string $pattern [, int $flags] ); 12 Description: Find pathnames matching a pattern 46 foreach($patterns as $pattern) { 48 var_dump( glob($pattern) ); // default arguments 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) ); 73 foreach($patterns as $pattern) { [all …]
|
H A D | glob_variation.phpt | 15 Description: Find pathnames matching a pattern 49 foreach($patterns as $pattern) { 51 var_dump( glob($pattern) ); // default arguments 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) ); 76 foreach($patterns as $pattern) { 78 var_dump( glob($pattern, GLOB_ONLYDIR) ); [all …]
|
H A D | glob_variation2.phpt | 5 /* Prototype: array glob ( string $pattern [, int $flags] ); 6 Description: Find pathnames matching a pattern
|
/PHP-7.4/ext/standard/tests/misc/ |
H A D | get_browser_variation3.phpt | 10 $pattern = get_browser($agent, true)['browser_name_pattern']; 11 echo "Agent $agent\n Matched by: $pattern\n";
|
/PHP-7.4/ext/xml/tests/ |
H A D | bug35447.phpt | 17 type (literal|pattern|sub) "literal"
|
/PHP-7.4/ext/zip/ |
H A D | php_zip.c | 535 if (!IS_ABSOLUTE_PATH(pattern, pattern_len)) { in php_zip_glob() 541 if (IS_SLASH(*pattern)) { in php_zip_glob() 548 pattern = work_pattern; in php_zip_glob() 1674 zend_string *pattern; local 1680 &pattern, &flags, &options) == FAILURE) { 1685 &pattern, &path, &path_len, &options) == FAILURE) { 1690 if (ZSTR_LEN(pattern) == 0) { 1708 found = php_zip_glob(ZSTR_VAL(pattern), ZSTR_LEN(pattern), flags, return_value); 1710 found = php_zip_pcre(pattern, path, path_len, return_value); 2825 ZEND_ARG_INFO(0, pattern) [all …]
|
/PHP-7.4/main/streams/ |
H A D | glob_wrapper.c | 44 char *pattern; member 70 if (pglob && pglob->pattern) { in _php_glob_stream_get_pattern() 74 return pglob->pattern; in _php_glob_stream_get_pattern() 164 if (pglob->pattern) { in php_glob_stream_close() 165 efree(pglob->pattern); in php_glob_stream_close() 240 pglob->pattern = estrndup(pos, pglob->pattern_len); in php_glob_stream_opener()
|
/PHP-7.4/ |
H A D | php.ini-development | 1682 ; This directive specifies the regex pattern of content types for which mb_output_handler()
|
H A D | php.ini-production | 1682 ; This directive specifies the regex pattern of content types for which mb_output_handler()
|
/PHP-7.4/sapi/cli/tests/ |
H A D | 006.phpt | 71 Parameter #0 [ <required> $pattern ] 81 Parameter #0 [ <required> $pattern ] 112 Parameter #0 [ <required> $pattern ] 132 Parameter #0 [ <required> $pattern ]
|