mirror of
https://github.com/php/php-src.git
synced 2024-12-14 12:26:19 +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
|