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

class test {

	static function __clone() {
	}
}

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