Home
last modified time | relevance | path

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

/PHP-8.2/scripts/dev/
H A Dbless_tests.php34 $oldExpect = trim($matches[2]); variable
37 $out = generateMinimallyDifferingOutput($out, $oldExpect);
94 function generateMinimallyDifferingOutput(string $out, string $oldExpect) { argument
96 $oldExpectLines = explode("\n", $oldExpect);
97 $differ = new Differ(function($oldExpect, $new) {
98 if (strpos($oldExpect, '%') === false) {
99 return $oldExpect === $new;
101 return preg_match(formatToRegex($oldExpect), $new);

Completed in 5 milliseconds