php-src/Zend/tests/abstract_inheritance_002.phpt
2018-10-14 19:45:12 +02:00

13 lines
215 B
PHP

--TEST--
Allow abstract function override
--FILE--
<?php
abstract class A { abstract function bar($x); }
abstract class B extends A { abstract function bar($x, $y = 0); }
echo "DONE";
?>
--EXPECT--
DONE