mirror of
https://github.com/php/php-src.git
synced 2024-12-14 20:33:36 +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==
|