php-src/Zend/tests/errmsg_039.phpt
2018-10-14 12:07:20 -03:00

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