summaryrefslogtreecommitdiff
path: root/Zend/tests/errmsg_039.phpt
blob: 0000811879b22afe9cc1f2807d4b9a18a8d1c811 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--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