Home
last modified time | relevance | path

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

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

Completed in 6 milliseconds