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

15 lines
186 B
PHP

--TEST--
errmsg: cannot redeclare property
--FILE--
<?php
class test {
var $var;
var $var;
}
echo "Done\n";
?>
--EXPECTF--
Fatal error: Cannot redeclare test::$var in %s on line %d