1
0
mirror of https://github.com/php/php-src.git synced 2026-04-05 23:23:03 +02:00
Files
archived-php-src/Zend/tests/bug62956.phpt
Lars Strojny f82dd2c774 Bug #62956: fixing private method signature validation
In inheritance, if both methods are private, don not enforce the same
signature.
2012-08-28 14:06:18 +02:00

21 lines
252 B
PHP

--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==