Home
last modified time | relevance | path

Searched refs:preg_match (Results 51 – 75 of 172) sorted by relevance

1234567

/php-src/ext/pcre/tests/
H A Dctype_back_to_c.phpt11 var_dump(preg_match('/\w/', "\xe4"));
13 var_dump(preg_match('/\w/', "\xe4"));
H A Dgh11374.phpt23 $res = preg_match('{^' . $regex . '$}x', '{a}', $matches, PREG_OFFSET_CAPTURE);
26 $res2 = preg_match('{^' . $regex . '$}xx', '{a}', $matches2, PREG_OFFSET_CAPTURE);
H A D001.phpt2 abusing preg_match()
7 var_dump(preg_match('~
H A Dskip_002.inc3 if (@preg_match('/./u', '') === false) {
H A Dbug76512.phpt5 var_dump(preg_match('/\w/u', 'ä'));
H A Dbug61780_1.phpt5 preg_match('/(4)?(2)?\d/', '23456', $matches, PREG_UNMATCHED_AS_NULL);
8 preg_match('/(4)?(2)?\d/', '23456', $matches, PREG_OFFSET_CAPTURE | PREG_UNMATCHED_AS_NULL);
H A Dbug67238.phpt6 echo preg_match('/a{1,3}b/U', 'ab');
H A Dbug80118.phpt5 preg_match('~[^\p{Han}\p{Z}]~u', ' ', $matches);
H A Dbug78338.phpt8 preg_match($string, $string);
H A Dbug26927.phpt7 var_dump(preg_match("!{$str_quoted}!", $str), $str_quoted);
H A Dbug61780.phpt5 preg_match('/(a)?([a-z]*)(\d*)/', '123', $matches, PREG_UNMATCHED_AS_NULL);
H A Dbug75539.phpt12 var_dump(preg_match('/((?1)?z)/', ''));
H A Dbug75355.phpt8 var_dump(preg_match('~^(' . preg_quote('hello#world', '~') . ')\z~x', 'hello#world', $m));
H A Dbug47662.phpt13 var_dump(preg_match($regex, 'foobar'));
H A Dbug79846.phpt6 preg_match("/([a-z]+_[a-z]+_*[a-z]+)_?(\d+)?/", $item, $match);
H A Dcheck_jit_enabled.phpt17 var_dump(preg_match(",PCRE JIT Support .* enabled,", $info));
H A D004.phpt15 …MED_)?(?:FUNCTION|METHOD)\s*\((\w+(?:,\s*\w+)?)\)/S', "PHP_FUNCTION(s, preg_match)\n{\nlalala", -1…
129 string(13) "s, preg_match"
H A Dbug38600.phpt7 var_dump(preg_match('/(?<!\w)(0x[\p{N}]+[lL]?|[\p{Nd}]+(e[\p{Nd}]*)?[lLdDfF]?)(?!\w)/', $foo, $m));
/php-src/ext/mysqli/tests/
H A Dmysqli_debug_mysqlnd_control_string.phpt78 if (!preg_match("@^" . $pid . "*@ismU", $trace))
83 if (!preg_match("@^[\d]+@ismU", $trace))
89 if (!preg_match("@^\s*[/\w\\\\d\.:\-]+\.[ch]@ismU", $trace))
94 if (!preg_match("@^\d+:@ismU", $trace))
102 if (!preg_match("@^(\d+):+@ismU", $line, $matches)) {
118 if (preg_match("@^[|\s]*>[\w]+@ism", $line, $matches)) {
129 if (preg_match("@^[|\s]*>([\w:]+)@ism", $line, $matches)) {
138 if (preg_match("@^[|\s]*>([\w:]+)@ism", $line, $matches)) {
174 if (preg_match("@^[|\s]*>([\w:]+)@ism", $line, $matches)) {
205 if (!preg_match("@^[|\s]*>\_mysqlnd_p?efree@ismU", $trace, $matches) &&
[all …]
/php-src/ext/gd/tests/
H A Dfunc.inc22 if (preg_match(',FreeType Version => (\d+\.\d+\.\d+),s', get_php_info(), $match)) {
33 if (preg_match(',libJPEG Version => ([a-z0-9]+),s', get_php_info(), $match)) {
44 if (preg_match(',libPNG Version => (\d+\.\d+\.\d+),s', get_php_info(), $match)) {
55 if (preg_match(',libXpm Version => (\d+),s', get_php_info(), $match)) {
/php-src/scripts/dev/
H A Dbless_tests.php10 if (!preg_match('/^(.*)\.phpt$/', $path, $matches)) {
30 if (!preg_match('/--EXPECT(F?)--(.*)$/s', $phpt, $matches)) {
103 return preg_match(formatToRegex($oldExpect), $new);
120 $hasWildcard = preg_match('/%[resSaAwidxfc0]/', $out);
/php-src/Zend/tests/offsets/
H A Dstring_container_offset_behaviour.phpt646 !preg_match($EXPECTED_OUTPUT_VALID_OFFSETS_REGEX, $varOutput)
648 && !preg_match($EXPECTED_OUTPUT_STRING_CAST_OFFSETS_REGEX, $varOutput)
649 && !preg_match($EXPECTED_OUTPUT_STRING_CAST_OFFSETS_TO_0_REGEX, $varOutput)
651 && !preg_match($EXPECTF_OUTPUT_FLOAT_OFFSETS_OUT_OF_RANGE_REGEX, $varOutput)
652 && !preg_match($EXPECTED_OUTPUT_FLOAT_INF_NAN_OFFSETS_REGEX, $varOutput)
653 && !preg_match($EXPECTED_OUTPUT_INVALID_OFFSETS_REGEX, $varOutput)
680 !preg_match($EXPECTED_OUTPUT_VALID_OFFSETS_REGEX, $varOutput)
682 && !preg_match($EXPECTED_OUTPUT_STRING_CAST_OFFSETS_REGEX, $varOutput)
683 && !preg_match($EXPECTED_OUTPUT_STRING_CAST_OFFSETS_TO_0_REGEX, $varOutput)
686 && !preg_match($EXPECTED_OUTPUT_FLOAT_INF_NAN_OFFSETS_REGEX, $varOutput)
[all …]
/php-src/ext/pcre/
H A Dphp_pcre_arginfo.h66 ZEND_FRAMELESS_FUNCTION(preg_match, 2);
68 { ZEND_FRAMELESS_FUNCTION_NAME(preg_match, 2), 2 },
78 ZEND_FUNCTION(preg_match);
/php-src/tests/lang/
H A Dbug29944.phpt10 if (preg_match('/\d/', $bar)) return true;
/php-src/.github/
H A Dnightly_matrix.php127 preg_match('(^#define PHP_MAJOR_VERSION (?<num>\d+)$)m', $content, $matches);
129 preg_match('(^#define PHP_MINOR_VERSION (?<num>\d+)$)m', $content, $matches);

Completed in 27 milliseconds

1234567