com php-src: Remove __clone test (not reason it should error): Zend/tests/errmsg_014.phpt

From: Date: Mon, 21 Jul 2014 16:47:03 +0000
Subject: com php-src: Remove __clone test (not reason it should error): Zend/tests/errmsg_014.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-80938@lists.php.net to get a copy of this message
Commit: c60cd3e8eff747f7538328363dfc1d1877298dd1 Author: Nikita Popov <nikic@php.net> Mon, 21 Jul 2014 18:47:03 +0200 Parents: 94d5d7d01b91a2f033dfccbcbf5d227a3ea35f39 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c60cd3e8eff747f7538328363dfc1d1877298dd1 Log: Remove __clone test (not reason it should error) Changed paths: D Zend/tests/errmsg_014.phpt Diff: diff --git a/Zend/tests/errmsg_014.phpt b/Zend/tests/errmsg_014.phpt deleted file mode 100644 index 77e12b0..0000000 --- a/Zend/tests/errmsg_014.phpt +++ /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

« previous php.cvs (#80938) next »