Home
last modified time | relevance | path

Searched refs:matches (Results 76 – 100 of 167) sorted by relevance

1234567

/PHP-7.4/ext/pcre/tests/
H A Dbug70345.phpt12 preg_match($regex, $subject, $matches);
14 var_dump($matches);
H A Dpreg_grep_basic.phpt11 …TP(.*?)\w{2,}$@i', $array)); //finds a string starting with http (regardless of case) (matches two)
12 …-Z and 0-9, followed by zero or more . followed by zero or more / all more than once. (matches all)
13 … not followed by 3 characters that aren't w's then anything to the end of the sttring (matches one)
14 var_dump(preg_grep('@.*?\.co\.uk$@i', $array)); //finds any address ending in .co.uk (matches none)
15 …example but the array created contains everything that is NOT matched but the regex (matches three)
H A Dbug70232.phpt7 preg_match_all($pattern, $subject, $matches);
8 var_dump($matches);
H A Dbug27103.phpt19 preg_match_all('/./u', $teststr, $matches);
20 iter($matches[0]);
H A Dpreg_replace_callback_basic.phpt13 function integer_word($matches) {
15 …return $replacement[$matches[0]]; //all examples will be looking for an integer value, if one is f…
/PHP-7.4/ext/standard/tests/general_functions/
H A Dproc_nice_basic.phpt22 preg_match('/^\s*\w+\s+\w+\s*(\d+)\s+(\d+)/m', $res, $matches);
23 if (count($matches) > 2)
24 return $matches[2];
/PHP-7.4/scripts/dev/
H A Dbless_tests.php10 if (!preg_match('/^(.*)\.phpt$/', $path, $matches)) {
15 $outPath = $matches[1] . '.out';
30 if (!preg_match('/--EXPECT(F?)--(.*)$/s', $phpt, $matches)) {
34 $oldExpect = trim($matches[2]);
35 $isFormat = $matches[1] == 'F';
115 return preg_replace_callback('/--EXPECTF?--.*?(--CLEAN--|$)/sD', function($matches) use($out) {
118 return "--EXPECT$F--\n" . $out . "\n" . $matches[1];
/PHP-7.4/ext/oci8/tests/
H A Dbind_boolean_1.phpt7 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
8 if (!(isset($matches[0]) && $matches[1] >= 12)) {
11 preg_match('/^[[:digit:]]+/', oci_client_version(), $matches);
12 if (!(isset($matches[0]) && $matches[0] >= 12)) {
H A Dimp_res_get_5.phpt8 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
9 if (!(isset($matches[0]) && $matches[1] >= 12)) {
12 preg_match('/^[[:digit:]]+/', oci_client_version(), $matches);
13 if (!(isset($matches[0]) && $matches[0] >= 12)) {
H A Dimp_res_prefetch.phpt8 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
9 if (!(isset($matches[0]) && $matches[1] >= 12)) {
12 preg_match('/^[[:digit:]]+/', oci_client_version(), $matches);
13 if (!(isset($matches[0]) && $matches[0] >= 12)) {
H A Dimp_res_dbmsoutput.phpt8 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
9 if (!(isset($matches[0]) && $matches[1] >= 12)) {
12 preg_match('/^[[:digit:]]+/', oci_client_version(), $matches);
13 if (!(isset($matches[0]) && $matches[0] >= 12)) {
H A Dimp_res_get_dbmsoutput.phpt8 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
9 if (!(isset($matches[0]) && $matches[1] >= 12)) {
12 preg_match('/^[[:digit:]]+/', oci_client_version(), $matches);
13 if (!(isset($matches[0]) && $matches[0] >= 12)) {
H A Drefcur_prefetch_4.phpt7 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
8 if (!(isset($matches[0]) &&
9 ($matches[1] >= 10))) {
12 ….([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)/', oci_client_version(), $matches);
13 if (!(isset($matches[0]) &&
14 (($matches[1] == 11 && $matches[2] >= 2) ||
15 ($matches[1] >= 12)
H A Dcalltimeout1.phpt12 preg_match('/^[[:digit:]]+/', oci_client_version(), $matches);
13 if (!(isset($matches[0]) && $matches[0] >= 18)) {
H A Dimp_res_get_4.phpt8 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
9 if (!(isset($matches[0]) && $matches[1] >= 12)) {
12 preg_match('/^[[:digit:]]+/', oci_client_version(), $matches);
13 if (!(isset($matches[0]) && $matches[0] >= 12)) {
H A Dimp_res_insert.phpt8 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
9 if (!(isset($matches[0]) && $matches[1] >= 12)) {
12 preg_match('/^[[:digit:]]+/', oci_client_version(), $matches);
13 if (!(isset($matches[0]) && $matches[0] >= 12)) {
H A Drefcur_prefetch_2.phpt7 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
8 if (!(isset($matches[0]) &&
9 ($matches[1] >= 10))) {
12 ….([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)/', oci_client_version(), $matches);
13 if (!(isset($matches[0]) &&
14 (($matches[1] == 11 && $matches[2] >= 2) ||
15 ($matches[1] >= 12)
H A Dimp_res_get_3.phpt8 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
9 if (!(isset($matches[0]) && $matches[1] >= 12)) {
12 preg_match('/^[[:digit:]]+/', oci_client_version(), $matches);
13 if (!(isset($matches[0]) && $matches[0] >= 12)) {
/PHP-7.4/ext/pdo_mysql/tests/
H A Dpdo_mysql_multi_stmt_nextrowset.phpt10 $matches = array();
11 if (!preg_match('/^(\d+)\.(\d+)\.(\d+)/ismU', $row['_version'], $matches))
14 $version = $matches[1] * 10000 + $matches[2] * 100 + $matches[3];
17 $matches[1], $matches[2], $matches[3], $version));
H A Dpdo_mysql_stmt_nextrowset.phpt12 $matches = array();
13 if (!preg_match('/^(\d+)\.(\d+)\.(\d+)/ismU', $row['_version'], $matches))
16 $version = $matches[1] * 10000 + $matches[2] * 100 + $matches[3];
19 $matches[1], $matches[2], $matches[3], $version));
/PHP-7.4/ext/mbstring/tests/
H A Dbug69151.phpt12 false === mb_eregi('.', $str, $matches),
13 [] === $matches,
/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_debug_mysqlnd_only.phpt83 if (preg_match("@^[|\s]*>([\w:]+)@ism", $line, $matches)) {
84 $functions_trace[$matches[1]] = $matches[1];
107 if (preg_match("@^[|\s]*>([\w:]+)@ism", $line, $matches)) {
108 $functions_trace[$matches[1]] = $matches[1];
/PHP-7.4/ext/standard/tests/streams/
H A Dbug60106.phpt15 preg_match("#maximum allowed length of (\d+) bytes#", $errmsg, $matches);
16 $socket_file = substr($socket_file, 0, intval($matches[1]) - 1);
/PHP-7.4/ext/standard/tests/file/
H A Dsymlink_link_linkinfo_is_link_variation9.phpt52 echo "\nlinkinfo() value matches lstat['dev']\n";
67 echo "\nlinkinfo() value matches lstat['dev']\n";
84 echo "\nlinkinfo() value matches lstat['dev']\n";
110 linkinfo() value matches lstat['dev']
116 linkinfo() value matches lstat['dev']
122 linkinfo() value matches lstat['dev']
/PHP-7.4/ext/ftp/tests/
H A Dserver.inc348 switch ($matches [1]){
362 fputs($s, "550 No file named \"{$matches [1]}\"\r\n");
374 switch($matches[1]){
434 }elseif (preg_match('/^PASV/', $buf, $matches)) {
469 } elseif (preg_match('/^EPSV/', $buf, $matches)) {
471 } elseif (preg_match('/^SITE EXEC/', $buf, $matches)) {
474 } elseif (preg_match('/^RMD/', $buf, $matches)) {
481 if (isset($matches[1]) && in_array($matches[1], ['file1', "file\nb0rk"])){
489 }elseif (preg_match('/^LIST www\//', $buf, $matches)) {
495 }elseif (preg_match('/^REST (\d+)/', $buf, $matches)) {
[all …]

Completed in 45 milliseconds

1234567