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