Remove __clone test (not reason it should error)

This commit is contained in:
Nikita Popov 2014-07-21 18:47:03 +02:00
parent 94d5d7d01b
commit c60cd3e8ef

View File

@ -1,17 +0,0 @@
--TEST--
errmsg: cannot call __clone() method on objects
--FILE--
<?php
class test {
function __clone() {
}
}
$t = new test;
$t->__clone();
echo "Done\n";
?>
--EXPECTF--
Fatal error: Cannot call __clone() method on objects - use 'clone $obj' instead in %s on line %d