mirror of
https://github.com/php/php-src.git
synced 2024-12-17 22:09:12 +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==
|