]> granicus.if.org Git - php/commitdiff
Fixed test
authorDmitry Stogov <dmitry@php.net>
Wed, 11 Jun 2008 06:30:09 +0000 (06:30 +0000)
committerDmitry Stogov <dmitry@php.net>
Wed, 11 Jun 2008 06:30:09 +0000 (06:30 +0000)
tests/classes/__call_005.phpt

index 5706a7c004b54b97b35d04aefaefc3adf26b41a6..53c063aaf24a9ce363bfe4977a31c8ae394e1d79 100644 (file)
@@ -22,4 +22,16 @@ $b = new B();
 $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) {
+}