]> granicus.if.org Git - php/commitdiff
Remove __clone test (not reason it should error)
authorNikita Popov <nikic@php.net>
Mon, 21 Jul 2014 16:47:03 +0000 (18:47 +0200)
committerNikita Popov <nikic@php.net>
Mon, 21 Jul 2014 16:47:03 +0000 (18:47 +0200)
Zend/tests/errmsg_014.phpt [deleted file]

diff --git a/Zend/tests/errmsg_014.phpt b/Zend/tests/errmsg_014.phpt
deleted file mode 100644 (file)
index 77e12b0..0000000
+++ /dev/null
@@ -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