summaryrefslogtreecommitdiff
path: root/Zend/tests/errmsg_032.phpt
blob: 6e34604cd80c7f69c8cdb552a8d8e374b69476ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--TEST--
errmsg: __construct() cannot be static
--FILE--
<?php

class test {

	static function __construct() {
	}
}

echo "Done\n";
?>
--EXPECTF--	
Fatal error: Constructor test::__construct() cannot be static in %s on line %d