mirror of
https://github.com/php/php-src.git
synced 2024-11-29 04:46:07 +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==
|