objects_010.phpt 290 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
--TEST--
redefining constructor (__construct second)
--INI--
error_reporting=8191
--FILE--
<?php

class test {
	function test() {
	}
	function __construct() {
	}
}

echo "Done\n";
?>
--EXPECTF--	
Strict Standards: Redefining already defined constructor for class test in %s on line %d
Done