mirror of
https://github.com/php/php-src.git
synced 2024-11-27 11:53:33 +08:00
21 lines
265 B
PHP
21 lines
265 B
PHP
--TEST--
|
|
Bug #62956: "incompatible" signatures for private methods should not cause E_WARNING
|
|
--FILE--
|
|
<?php
|
|
class Base
|
|
{
|
|
private function test()
|
|
{}
|
|
}
|
|
|
|
class Extension extends Base
|
|
{
|
|
private function test($arg)
|
|
{}
|
|
}
|
|
|
|
?>
|
|
==DONE==
|
|
--EXPECT--
|
|
==DONE==
|