/PHP-7.4/ext/pcre/tests/ |
H A D | preg_match_all_edit_basic.phpt | 16 …ET_ORDER)); //finds "This is a test." and "This is another test." (non-greedy) (2 matches) 22 …/\d{2}$/', $string, $match4)); //tries to find 2 digits at the end of a string (0 matches) 25 …(.*)\stest/', $string, $match5)); //tries to find "This is aThis is a [...] test" (0 matches)
|
H A D | preg_match_all_basic.phpt | 12 …2, PREG_SET_ORDER)); //finds "This is a test." and "This is another test." (non-greedy) (2 matches) 16 …tch_all('/\d{2}$/', $string, $match4)); //tries to find 2 digits at the end of a string (0 matches) 18 …a ){2}(.*)\stest/', $string, $match5)); //tries to find "This is aThis is a [...] test" (0 matches)
|
H A D | bug74873.phpt | 5 var_dump(preg_match('/\S+/', 'foo bar', $matches, 0, 99999));
|
H A D | preg_replace_callback_error1.phpt | 20 function integer_word($matches) { 22 return $replacement[$matches[0]];
|
/PHP-7.4/ext/oci8/tests/ |
H A D | refcur_prefetch_1.phpt | 7 …[: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 D | edition_2.phpt | 11 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches); 12 if (!(isset($matches[0]) && 13 (($matches[1] == 11 && $matches[2] >= 2) || 14 ($matches[1] >= 12) 18 ….([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)/', oci_client_version(), $matches); 19 if (!(isset($matches[0]) && 20 (($matches[1] == 11 && $matches[2] >= 2) || 21 ($matches[1] >= 12)
|
H A D | conn_attr_5.phpt | 11 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches); 12 if (!(isset($matches[0]) && $matches[1] >= 10)) {
|
H A D | conn_attr_4.phpt | 12 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches); 13 if (!(isset($matches[0]) && 14 (($matches[1] == 11 && $matches[2] >= 2) || 15 ($matches[1] >= 12)
|
H A D | imp_res_field.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 | bind_char_2_11gR1.phpt | 8 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches); 9 if (!(isset($matches[0]) && $matches[1] < 12)) {
|
H A D | bind_char_2.phpt | 8 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches); 9 if (!(isset($matches[0]) && $matches[1] >= 12)) {
|
H A D | ini_1.phpt | 6 preg_match('/^[[:digit:]]+/', oci_client_version(), $matches); 7 if (!(isset($matches[0]) && $matches[0] >= 11)) {
|
H A D | bug27303_4.phpt | 8 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches); 9 if (!(isset($matches[0]) && $matches[1] >= 12)) {
|
H A D | conn_attr_3.phpt | 11 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches); 12 if (!(isset($matches[0]) && $matches[1] >= 10)) {
|
/PHP-7.4/Zend/ |
H A D | zend_vm_gen.php | 873 function($matches) use ($spec, $prefix, $op1, $op2, $extra_spec) { 879 $name = $matches[1]; 884 if (is_hot_helper($matches[1])) { 885 if (isset($matches[2])) { 892 if (isset($matches[2])) { 915 $handler = $matches[1]; 926 if (isset($matches[2])) { 950 if (isset($matches[2])) { 974 if (isset($matches[2])) { 989 foreach ($matches as $match) { [all …]
|
/PHP-7.4/sapi/phpdbg/ |
H A D | phpdbg_cmd.c | 576 zend_ulong matches = 0L; in phpdbg_stack_resolve() local 583 matched[matches] = command; in phpdbg_stack_resolve() 584 matches++; in phpdbg_stack_resolve() 589 if (matches < 3) { in phpdbg_stack_resolve() 592 matched[matches] = command; in phpdbg_stack_resolve() 593 matches++; in phpdbg_stack_resolve() 610 switch (matches) { in phpdbg_stack_resolve() 630 while (it < matches) { in phpdbg_stack_resolve() 632 list = emalloc(matched[it]->name_len + 1 + (it + 1 < matches ? sizeof(", ") - 1 : 0)); in phpdbg_stack_resolve() 634 …list = erealloc(list, (pos + matched[it]->name_len) + 1 + (it + 1 < matches ? sizeof(", ") - 1 : 0… in phpdbg_stack_resolve() [all …]
|
/PHP-7.4/ext/standard/tests/password/ |
H A D | password_default.phpt | 2 Test that the value of PASSWORD_DEFAULT matches PASSWORD_BCRYPT
|
/PHP-7.4/sapi/fpm/tests/ |
H A D | logtool.inc | 109 if (preg_match($this->pattern, $line, $matches) === 0) { 114 if (!isset($matches[2])) { 117 if (!$this->checkMessage($matches[1])) { 121 if (isset($matches[2])) { 126 if (!$this->checkMessage($matches[1], -1)) { 170 if (preg_match($suffixPattern, $line, $matches) === 0) { 173 if ($matches[1] !== substr(self::FINAL_SUFFIX, $this->suffixPosition)) { 197 } elseif (($res = preg_match($this->pattern, $line, $matches)) > 0) { 198 $out = $matches[2]; 199 $finalSuffix = $matches[3] ?? false; [all …]
|
/PHP-7.4/ext/fileinfo/tests/ |
H A D | bug68398.phpt | 2 Bug #68398: msooxml matches too many archives
|
/PHP-7.4/scripts/dev/ |
H A D | check_parameters.php | 202 if (preg_match_all($regex, $txt, $matches, PREG_SET_ORDER | PREG_OFFSET_CAPTURE)) { 206 foreach ($matches as $m) { 314 $txt = preg_replace_callback('@/\*.*\*/@SsU', function($matches) { 315 return preg_replace("/[^\r\n]+/S", "", $matches[0]);
|
/PHP-7.4/ext/readline/ |
H A D | readline.c | 550 char **matches = NULL; in _readline_completion_cb() local 560 matches = rl_completion_matches(text,_readline_command_generator); in _readline_completion_cb() 562 matches = malloc(sizeof(char *) * 2); in _readline_completion_cb() 563 if (!matches) { in _readline_completion_cb() 566 matches[0] = strdup(""); in _readline_completion_cb() 567 matches[1] = NULL; in _readline_completion_cb() 575 return matches; in _readline_completion_cb()
|
/PHP-7.4/tests/lang/ |
H A D | bug26696.phpt | 2 Bug #26696 (string index in a switch() crashes with multiple matches)
|
/PHP-7.4/ext/mbstring/tests/ |
H A D | mb_ereg_search_invalid_pattern.phpt | 2 mb_ereg_search() with invalid pattern should discard old matches
|
/PHP-7.4/Zend/tests/ |
H A D | closure_047.phpt | 8 preg_replace_callback( '/(\?)/', function($matches) use (&$params, &$text) {
|
/PHP-7.4/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_attr_server_info.phpt | 44 if (!preg_match('/Uptime: (\d+)/i', $info, $matches) || $uptime - $matches[1] > 1) {
|