mirror of
https://github.com/php/php-src.git
synced 2024-12-21 16:00:18 +08:00
ded3d984c6
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
20 lines
277 B
PHP
20 lines
277 B
PHP
--TEST--
|
|
Bug #61761 ('Overriding' a private static method with a different signature causes crash)
|
|
--FILE--
|
|
<?php
|
|
|
|
class A
|
|
{
|
|
private static function test($a) { }
|
|
}
|
|
|
|
class B extends A
|
|
{
|
|
private static function test($a, $b) { }
|
|
}
|
|
|
|
?>
|
|
==DONE==
|
|
--EXPECT--
|
|
==DONE==
|