/PHP-7.4/ext/gd/tests/ |
H A D | bug50194.phpt | 26 assert(preg_match('/The images are equal|The images differ in (\d+) pixels/', $output, $matches)); 27 if (isset($matches[1]) && $matches[1] > 2000) { 28 echo "The images differ in {$matches[1]} pixels.\n";
|
/PHP-7.4/ext/oci8/tests/ |
H A D | connect_without_oracle_home.phpt | 13 ….([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)/', oci_client_version(), $matches); 14 if (!isset($matches[0]) || !($matches[1] == 10 && $matches[2] == 2)) {
|
H A D | edition_1.phpt | 13 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches); 14 if (!(isset($matches[0]) && 15 (($matches[1] == 11 && $matches[2] >= 2) || 16 ($matches[1] >= 12) 20 ….([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)/', oci_client_version(), $matches); 21 if (!(isset($matches[0]) && 22 (($matches[1] == 11 && $matches[2] >= 2) || 23 ($matches[1] >= 12)
|
H A D | imp_res_2.phpt | 8 …[: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 D | imp_res_cursor.phpt | 8 …[: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 D | imp_res_6.phpt | 8 …[: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 D | imp_res_get_cursor.phpt | 8 …[: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 D | drcp_connection_class.phpt | 6 preg_match('/^[[:digit:]]+/', oci_client_version(), $matches); 7 if (!(isset($matches[0]) && $matches[0] >= 11)) {
|
H A D | imp_res_get_1.phpt | 8 …[: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 D | imp_res_get_2.phpt | 8 …[: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 D | imp_res_lob.phpt | 8 …[: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 D | pdo_mysql_attr_server_version.phpt | 26 if (!preg_match('/(\d+)\.(\d+)\.(\d+)(.*)/', $version, $matches)) 34 if ($matches[1] < 3) 35 printf("[003] Strange major version: '%s'. Should be more than 3\n", $matches[1]); 36 if ($matches[2] < 0) 37 printf("[004] Minor version should be at least 0, got '%s'\n", $matches[2]); 38 if ($matches[3] < 0) 39 printf("[005] Sub version should be at least 0, got '%s'\n", $matches[2]);
|
H A D | bug_42499.phpt | 14 $matches = array(); 15 if (!preg_match('/^(\d+)\.(\d+)\.(\d+)/ismU', $row['_version'], $matches)) 18 $version = $matches[1] * 10000 + $matches[2] * 100 + $matches[3]; 21 $matches[1], $matches[2], $matches[3], $version));
|
H A D | pdo_mysql_stmt_variable_columncount.phpt | 13 $matches = array(); 14 if (!preg_match('/^(\d+)\.(\d+)\.(\d+)/ismU', $row['_version'], $matches)) 17 $version = $matches[1] * 10000 + $matches[2] * 100 + $matches[3]; 20 $matches[1], $matches[2], $matches[3], $version));
|
/PHP-7.4/ext/pcre/tests/ |
H A D | bug80118.phpt | 5 preg_match('~[^\p{Han}\p{Z}]~u', ' ', $matches); 6 var_dump($matches);
|
H A D | bug27011.phpt | 6 var_dump(preg_match_all('|(\w+)://([^\s"<]*[\w+#?/&=])|', "This is a text string", $matches, PREG_S… 7 var_dump($matches);
|
H A D | bug61780.phpt | 5 preg_match('/(a)?([a-z]*)(\d*)/', '123', $matches, PREG_UNMATCHED_AS_NULL); 6 var_dump($matches);
|
H A D | preg_match_all_error2.phpt | 16 var_dump(preg_match_all($regex, $value, $matches)); 17 var_dump($matches); 21 var_dump(preg_match_all($regex, $value, $matches)); 22 var_dump($matches);
|
H A D | bug73483.phpt | 7 var_dump(preg_replace_callback($regex, function (array $matches) use($regex) { 9 $ret = preg_replace($regex, "okey", $matches[0]);
|
H A D | bug77193.phpt | 16 function ($matches) { 17 echo $matches[1];
|
H A D | bug34790.phpt | 7 preg_match_all('/(?P<word>the)/', $string, $matches); 8 return $matches['word'];
|
/PHP-7.4/ext/intl/tests/ |
H A D | bug78804.phpt | 9 echo 'Not matches'; 13 Not matches
|
/PHP-7.4/ext/com_dotnet/tests/ |
H A D | bug79299.phpt | 13 preg_match_all('/\/\* DISPID=9 \*\//', $typeinfo, $matches); 14 var_dump($matches[0]);
|
/PHP-7.4/Zend/tests/ |
H A D | closure_008.phpt | 7 $lambda = function ($matches) { 8 return str_replace(' ', ' ', $matches[1]).' ';
|
/PHP-7.4/ext/mysqli/tests/ |
H A D | mysqli_debug_mysqlnd_control_string.phpt | 105 if (!preg_match("@^(\d+):+@ismU", $line, $matches)) { 108 if (!isset($matches[1]) || ((int)$matches[1] > 1)) { 110 $matches[1], 121 if (preg_match("@^[|\s]*>[\w]+@ism", $line, $matches)) { 132 if (preg_match("@^[|\s]*>([\w:]+)@ism", $line, $matches)) { 133 $functions_all_funcs[$matches[1]] = $matches[1]; 141 if (preg_match("@^[|\s]*>([\w:]+)@ism", $line, $matches)) { 142 $functions_trace[$matches[1]] = $matches[1]; 177 if (preg_match("@^[|\s]*>([\w:]+)@ism", $line, $matches)) { 178 $functions_trace[$matches[1]] = $matches[1]; [all …]
|