xref: /PHP-7.3/Zend/tests/errmsg_039.phpt (revision 782352c5)
1--TEST--
2errmsg: cannot redeclare property
3--FILE--
4<?php
5
6class test {
7	var $var;
8	var $var;
9}
10
11echo "Done\n";
12?>
13--EXPECTF--
14Fatal error: Cannot redeclare test::$var in %s on line %d
15