felipe          Mon Feb  4 13:56:50 2008 UTC

  Modified files:              
    /php-src/tests/classes      autoload_012.phpt bug27504.phpt 
  Log:
  Fix tests (new error message)
  
http://cvs.php.net/viewvc.cgi/php-src/tests/classes/autoload_012.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/tests/classes/autoload_012.phpt
diff -u php-src/tests/classes/autoload_012.phpt:1.2 
php-src/tests/classes/autoload_012.phpt:1.3
--- php-src/tests/classes/autoload_012.phpt:1.2 Wed Jan 30 14:29:19 2008
+++ php-src/tests/classes/autoload_012.phpt     Mon Feb  4 13:56:50 2008
@@ -12,9 +12,9 @@
 --EXPECTF--
 In autoload: string(6) "UndefC"
 
-Warning: call_user_func() expects parameter 1 to be valid callback, string 
given in %s on line %d
+Warning: call_user_func() expects parameter 1 to be a valid callback, class 
'UndefC' not found in %s on line %d
 
 --UEXPECTF--
 In autoload: unicode(6) "UndefC"
 
-Warning: call_user_func() expects parameter 1 to be valid callback, Unicode 
string given in %s on line %d 
+Warning: call_user_func() expects parameter 1 to be a valid callback, class 
'UndefC' not found in %s on line %d
http://cvs.php.net/viewvc.cgi/php-src/tests/classes/bug27504.phpt?r1=1.4&r2=1.5&diff_format=u
Index: php-src/tests/classes/bug27504.phpt
diff -u php-src/tests/classes/bug27504.phpt:1.4 
php-src/tests/classes/bug27504.phpt:1.5
--- php-src/tests/classes/bug27504.phpt:1.4     Mon Feb 19 20:02:08 2007
+++ php-src/tests/classes/bug27504.phpt Mon Feb  4 13:56:50 2008
@@ -20,6 +20,6 @@
 --EXPECTF--
 Called function foo:bar(1)
 
-Warning: call_user_func_array() expects parameter 1 to be valid callback, 
array given in %s on line %d
+Warning: call_user_func_array() expects parameter 1 to be a valid callback, 
cannot access private method foo::bar() in %s on line %d
 
 Fatal error: Call to private method foo::bar() from context '' in %s on line %d

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to