mirror of
https://github.com/php/php-src.git
synced 2024-12-25 01:40:50 +08:00
21 lines
253 B
PHP
21 lines
253 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==
|