xref: /PHP-5.5/Zend/tests/errmsg_011.phpt (revision 0f0fe9c9)
1--TEST--
2errmsg: cannot redeclare (method)
3--FILE--
4<?php
5
6class test {
7
8	function foo() {}
9	function foo() {}
10
11}
12
13echo "Done\n";
14?>
15--EXPECTF--
16Fatal error: Cannot redeclare test::foo() in %s on line %d
17