cvs: ZendEngine2 /tests bug31720.phpt bug32290.phpt

[email protected] ("Felipe Pena")
Newsgroups php.zend-engine.cvs
Message-ID <cvsfelipe1202135391@cvsserver>
felipe		Mon Feb  4 14:29:51 2008 UTC

  Modified files:              
    /ZendEngine2/tests	bug31720.phpt bug32290.phpt 
  Log:
  Fix tests (new error message)
  
http://cvs.php.net/viewvc.cgi/ZendEngine2/tests/bug31720.phpt?r1=1.4&r2=1.5&diff_format=u
Index: ZendEngine2/tests/bug31720.phpt
diff -u ZendEngine2/tests/bug31720.phpt:1.4 ZendEngine2/tests/bug31720.phpt:1.5
--- ZendEngine2/tests/bug31720.phpt:1.4	Tue Mar  6 19:25:46 2007
+++ ZendEngine2/tests/bug31720.phpt	Mon Feb  4 14:29:51 2008
@@ -10,5 +10,5 @@
 --EXPECTF--
 Notice: Undefined variable: nonesuchvar in %s on line %d
 
-Warning: array_walk() expects parameter 2 to be valid callback, array given in %s on line %d
+Warning: array_walk() expects parameter 2 to be a valid callback, second array member is not a valid method in %s on line %d
 ===DONE===
http://cvs.php.net/viewvc.cgi/ZendEngine2/tests/bug32290.phpt?r1=1.8&r2=1.9&diff_format=u
Index: ZendEngine2/tests/bug32290.phpt
diff -u ZendEngine2/tests/bug32290.phpt:1.8 ZendEngine2/tests/bug32290.phpt:1.9
--- ZendEngine2/tests/bug32290.phpt:1.8	Fri Nov  2 00:15:13 2007
+++ ZendEngine2/tests/bug32290.phpt	Mon Feb  4 14:29:51 2008
@@ -99,8 +99,9 @@
 ===A===
 TestB::doSomething(1)
 
-Warning: call_user_func_array() expects parameter 1 to be valid callback, array given in %s on line %d
-NULL
+Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method TestA::doSomething() should not be called statically, assuming $this from compatible context TestB in %s on line %d
+TestA::doSomething(2)
+int(1)
 
 ===B===
 TestB::doSomethingThis(1)
@@ -110,8 +111,9 @@
 ===C===
 TestB::doSomethingParent(1)
 
-Warning: call_user_func_array() expects parameter 1 to be valid callback, array given in %s on line %d
-NULL
+Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method TestA::doSomethingParent() should not be called statically, assuming $this from compatible context TestB in %s on line %d
+TestA::doSomethingParent(2)
+int(1)
 
 ===D===
 TestB::doSomethingParentThis(1)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.