cvs: php-src(PHP_5_3) /tests/classes __call_005.phpt
| From: | Dmitry Stogov | Date: | Wed, 11 Jun 2008 06:30:09 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /tests/classes __call_005.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-50363@lists.php.net to get a copy of this message | ||
dmitry Wed Jun 11 06:30:09 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/tests/classes __call_005.phpt
Log:
Fixed test
http://cvs.php.net/viewvc.cgi/php-src/tests/classes/__call_005.phpt?r1=1.1.4.3&r2=1.1.4.4&diff_format=u
Index: php-src/tests/classes/__call_005.phpt
diff -u php-src/tests/classes/__call_005.phpt:1.1.4.3 php-src/tests/classes/__call_005.phpt:1.1.4.4
--- php-src/tests/classes/__call_005.phpt:1.1.4.3 Tue Jun 3 14:07:15 2008
+++ php-src/tests/classes/__call_005.phpt Wed Jun 11 06:30:09 2008
@@ -22,4 +22,16 @@
$b->test();
?>
--EXPECTF--
-Fatal error: The magic method __call() must have public visibility and can not be static in %s on
line %d
+Warning: The magic method __call() must have public visibility and can not be static in
%s__call_005.php on line 3
+In A::__call(test1, array(1,a))
+object(B)#1 (0) {
+}
+In A::__call(test2, array(1,a))
+object(B)#1 (0) {
+}
+In A::__call(test3, array(1,a))
+object(B)#1 (0) {
+}
+In A::__call(test4, array(1,a))
+object(B)#1 (0) {
+}