mirror of
https://github.com/php/php-src.git
synced 2024-11-28 20:34:29 +08:00
15 lines
186 B
PHP
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
|