php-src/Zend/tests/errmsg_039.phpt
2020-02-03 22:52:20 +01:00

15 lines
191 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