Home
last modified time | relevance | path

Searched refs:matches (Results 101 – 125 of 167) sorted by relevance

1234567

/PHP-7.4/ext/pcre/tests/
H A Dpreg_match_all_edit_basic.phpt16 …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 Dpreg_match_all_basic.phpt12 …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 Dbug74873.phpt5 var_dump(preg_match('/\S+/', 'foo bar', $matches, 0, 99999));
H A Dpreg_replace_callback_error1.phpt20 function integer_word($matches) {
22 return $replacement[$matches[0]];
/PHP-7.4/ext/oci8/tests/
H A Drefcur_prefetch_1.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 Dedition_2.phpt11 …[: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 Dconn_attr_5.phpt11 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
12 if (!(isset($matches[0]) && $matches[1] >= 10)) {
H A Dconn_attr_4.phpt12 …[: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 Dimp_res_field.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 Dbind_char_2_11gR1.phpt8 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
9 if (!(isset($matches[0]) && $matches[1] < 12)) {
H A Dbind_char_2.phpt8 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
9 if (!(isset($matches[0]) && $matches[1] >= 12)) {
H A Dini_1.phpt6 preg_match('/^[[:digit:]]+/', oci_client_version(), $matches);
7 if (!(isset($matches[0]) && $matches[0] >= 11)) {
H A Dbug27303_4.phpt8 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
9 if (!(isset($matches[0]) && $matches[1] >= 12)) {
H A Dconn_attr_3.phpt11 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
12 if (!(isset($matches[0]) && $matches[1] >= 10)) {
/PHP-7.4/Zend/
H A Dzend_vm_gen.php873 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 Dphpdbg_cmd.c576 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 Dpassword_default.phpt2 Test that the value of PASSWORD_DEFAULT matches PASSWORD_BCRYPT
/PHP-7.4/sapi/fpm/tests/
H A Dlogtool.inc109 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 Dbug68398.phpt2 Bug #68398: msooxml matches too many archives
/PHP-7.4/scripts/dev/
H A Dcheck_parameters.php202 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 Dreadline.c550 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 Dbug26696.phpt2 Bug #26696 (string index in a switch() crashes with multiple matches)
/PHP-7.4/ext/mbstring/tests/
H A Dmb_ereg_search_invalid_pattern.phpt2 mb_ereg_search() with invalid pattern should discard old matches
/PHP-7.4/Zend/tests/
H A Dclosure_047.phpt8 preg_replace_callback( '/(\?)/', function($matches) use (&$params, &$text) {
/PHP-7.4/ext/pdo_mysql/tests/
H A Dpdo_mysql_attr_server_info.phpt44 if (!preg_match('/Uptime: (\d+)/i', $info, $matches) || $uptime - $matches[1] > 1) {

Completed in 43 milliseconds

1234567