Home
last modified time | relevance | path

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

1234567

/PHP-7.3/ext/pcre/tests/
H A Dbug74873.phpt5 var_dump(preg_match('/\S+/', 'foo bar', $matches, 0, 99999));
H A Dpreg_replace_callback_error.phpt16 function integer_word($matches) {
18 return $replacement[$matches[0]];
H A Dpreg_replace_callback_error1.phpt20 function integer_word($matches) {
22 return $replacement[$matches[0]];
/PHP-7.3/sapi/fpm/tests/
H A Dlogtool.inc103 if (preg_match($this->pattern, $line, $matches) === 0) {
108 if (!isset($matches[2])) {
111 if (!$this->checkMessage($matches[1])) {
115 if (isset($matches[2])) {
120 if (!$this->checkMessage($matches[1], -1)) {
164 if (preg_match($suffixPattern, $line, $matches) === 0) {
167 if ($matches[1] !== substr(self::FINAL_SUFFIX, $this->suffixPosition)) {
191 } elseif (($res = preg_match($this->pattern, $line, $matches)) > 0) {
192 $out = $matches[2];
193 $finalSuffix = $matches[3] ?? false;
[all …]
/PHP-7.3/ext/oci8/tests/
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 Dconn_attr_5.phpt11 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
12 if (!(isset($matches[0]) && $matches[1] >= 10)) {
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 Dconn_attr_3.phpt11 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
12 if (!(isset($matches[0]) && $matches[1] >= 10)) {
H A Dbug27303_1.phpt8 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
9 if (!(isset($matches[0]) && $matches[1] >= 12)) {
H A Dbug27303_1_11gR1.phpt8 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
9 if (!(isset($matches[0]) && $matches[1] < 12)) {
H A Dbug27303_2.phpt8 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
9 if (!(isset($matches[0]) && $matches[1] >= 12)) {
H A Dbug27303_2_11gR1.phpt8 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
9 if (!(isset($matches[0]) && $matches[1] < 12)) {
H A Dbug27303_4.phpt8 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
9 if (!(isset($matches[0]) && $matches[1] >= 12)) {
H A Dbug27303_4_11gR1.phpt8 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
9 if (!(isset($matches[0]) && $matches[1] < 12)) {
H A Dconn_attr_1.phpt12 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
13 if (!(isset($matches[0]) && $matches[1] >= 10)) {
H A Dimp_res_1.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.3/ext/readline/
H A Dreadline.c510 char **matches = NULL; in _readline_completion_cb() local
519 matches = rl_completion_matches(text,_readline_command_generator); in _readline_completion_cb()
521 matches = malloc(sizeof(char *) * 2); in _readline_completion_cb()
522 if (!matches) { in _readline_completion_cb()
525 matches[0] = strdup(""); in _readline_completion_cb()
526 matches[1] = NULL; in _readline_completion_cb()
534 return matches; in _readline_completion_cb()
/PHP-7.3/scripts/dev/
H A Dcheck_parameters.php201 if (preg_match_all($regex, $txt, $matches, PREG_SET_ORDER | PREG_OFFSET_CAPTURE)) {
205 foreach ($matches as $m) {
313 $txt = preg_replace_callback('@/\*.*\*/@SsU', function($matches) {
314 return preg_replace("/[^\r\n]+/S", "", $matches[0]);
/PHP-7.3/ext/fileinfo/tests/
H A Dbug68398.phpt2 Bug #68398: msooxml matches too many archives
/PHP-7.3/tests/lang/
H A Dbug26696.phpt2 Bug #26696 (string index in a switch() crashes with multiple matches)
/PHP-7.3/ext/mbstring/tests/
H A Dmb_ereg_search_invalid_pattern.phpt2 mb_ereg_search() with invalid pattern should discard old matches
/PHP-7.3/Zend/tests/
H A Dclosure_047.phpt8 preg_replace_callback( '/(\?)/', function($matches) use (&$params, &$text) {
H A Dclosure_048.phpt8 $c = function($matches) use (&$params, &$text) {

Completed in 41 milliseconds

1234567