Home
last modified time | relevance | path

Searched refs:matcher (Results 1 – 5 of 5) sorted by relevance

/PHP-8.0/Zend/tests/
H A Dbug72101.phpt17 public function addMatcher( $matcher) {
18 $this->matchers[] = $matcher;
/PHP-8.0/sapi/fpm/tests/
H A Dlogreader.inc153 * Read log until matcher matches the log message or there are no more logs.
155 * @param callable $matcher Callback to identify a match
156 * @param string|null $notFoundMessage Error message if matcher does not succeed.
165 callable $matcher,
175 if ($matcher($line)) {
189 } while ( ! $matcher($line));
H A Dlogtool.inc128 * Match the matcher checking the log lines using the callback.
136 private function match(callable $matcher, string $notFoundMessage): bool
142 if ($this->logReader->readUntil($matcher, $notFoundMessage)) {
164 $matcher = function (string $line) {
196 return $matcher($line);
198 return $this->match($matcher, 'Truncated message not found');
232 $matcher = fn(string $line) => $this->checkLine($line);
235 if ( ! $this->match($matcher, 'Output message not found')) {
481 * Get log entry matcher.
560 $matcher = $this->getEntryMatcher($type, $expectedMessage, $pool, $ignoreErrorFor);
[all …]
/PHP-8.0/sapi/cli/
H A Dphp_http_parser.c535 const char *matcher; in php_http_parser_execute() local
539 matcher = method_strings[parser->method]; in php_http_parser_execute()
541 if (parser->method != PHP_HTTP_NOT_IMPLEMENTED && matcher[index] != '\0') { in php_http_parser_execute()
545 } else if (parser->method == PHP_HTTP_NOT_IMPLEMENTED || ch == matcher[index]) { in php_http_parser_execute()
/PHP-8.0/build/
H A Dlibtool.m44210 # An ERE matcher.

Completed in 26 milliseconds