tony2001                Thu Jan 19 21:22:33 2006 UTC

  Modified files:              
    /php-src/ext/standard/tests/strings bug22224.phpt 
  Log:
  fix test
  
  
http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/tests/strings/bug22224.phpt?r1=1.3&r2=1.4&diff_format=u
Index: php-src/ext/standard/tests/strings/bug22224.phpt
diff -u php-src/ext/standard/tests/strings/bug22224.phpt:1.3 
php-src/ext/standard/tests/strings/bug22224.phpt:1.4
--- php-src/ext/standard/tests/strings/bug22224.phpt:1.3        Wed Aug 17 
07:59:31 2005
+++ php-src/ext/standard/tests/strings/bug22224.phpt    Thu Jan 19 21:22:33 2006
@@ -4,9 +4,14 @@
 error_reporting=0
 --FILE--
 <?php
-class foo {
+function test_error_handler($err_no, $err_msg, $filename, $linenum, $vars) {
+       //ignore all errors
 }
 
+set_error_handler('test_error_handler');
+       
+class foo {
+}
 
 $a = new foo();
                            

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

Reply via email to