summaryrefslogtreecommitdiff
path: root/Zend/tests/errmsg_034.phpt
blob: a8bfc80b9a1852b0fe1245954572875152f703c0 (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