Home
last modified time | relevance | path

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

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

Completed in 4 milliseconds