summaryrefslogtreecommitdiff
path: root/Zend/tests/objects_011.phpt
blob: 0836c0ecebad6843549b6893bec639de7c9b2067 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--TEST--
redefining constructor (__construct first)
--INI--
error_reporting=8191
--FILE--
<?php

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

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