blob: 5333f3b23c9d901272f5c3ee8d8168040faf3508 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--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
|