summaryrefslogtreecommitdiff
path: root/Zend/tests/errmsg_015.phpt
blob: 8e626e5092138f86ece4d52edf6b351ad6c78206 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--TEST--
errmsg: __clone() cannot accept any arguments
--FILE--
<?php

class test {
	function __clone($var) {
	}
}

echo "Done\n";
?>
--EXPECTF--	
Fatal error: Method test::__clone() cannot accept any arguments in %s on line %d