mirror of
https://github.com/php/php-src.git
synced 2024-12-20 15:30:38 +08:00
20 lines
278 B
PHP
20 lines
278 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==
|
|
--EXPECTF--
|
|
==DONE==
|