Skip to content

Commit cf5ded9

Browse files
authored
run-tests: removed unused code (php#16675)
1 parent cda67fb commit cf5ded9

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

run-tests.php

-13
Original file line numberDiff line numberDiff line change
@@ -2866,19 +2866,6 @@ function expectf_to_regex(?string $wanted): string
28662866
'%0' => '\x00',
28672867
]);
28682868
}
2869-
2870-
/**
2871-
* @return bool|int
2872-
*/
2873-
function comp_line(string $l1, string $l2, bool $is_reg)
2874-
{
2875-
if ($is_reg) {
2876-
return preg_match('/^' . $l1 . '$/s', $l2);
2877-
}
2878-
2879-
return !strcmp($l1, $l2);
2880-
}
2881-
28822869
/**
28832870
* Map "Zend OPcache" to "opcache" and convert all ext names to lowercase.
28842871
*/

0 commit comments

Comments
 (0)