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