Return to errmsg_011.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / Zend / tests |
php
--TEST-- errmsg: cannot redeclare (method) --FILE-- <?php class test { function foo() {} function foo() {} } echo "Done\n"; ?> --EXPECTF-- Fatal error: Cannot redeclare test::foo() in %s on line %d