php-src/Zend/tests/errmsg_011.phpt
2007-02-07 11:10:32 +00:00

17 lines
205 B
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