mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
run-tests: removed unused code (#16675)
This commit is contained in:
parent
cda67fb544
commit
cf5ded9cc5
1 changed files with 0 additions and 13 deletions
|
@ -2866,19 +2866,6 @@ function expectf_to_regex(?string $wanted): string
|
|||
'%0' => '\x00',
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool|int
|
||||
*/
|
||||
function comp_line(string $l1, string $l2, bool $is_reg)
|
||||
{
|
||||
if ($is_reg) {
|
||||
return preg_match('/^' . $l1 . '$/s', $l2);
|
||||
}
|
||||
|
||||
return !strcmp($l1, $l2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Map "Zend OPcache" to "opcache" and convert all ext names to lowercase.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue