iliaa           Fri Oct 25 14:09:55 2002 EDT

  Modified files:              
    /php4       README.TESTING 
  Log:
  Added note about error reporting in tests.
  
  
Index: php4/README.TESTING
diff -u php4/README.TESTING:1.14 php4/README.TESTING:1.15
--- php4/README.TESTING:1.14    Fri Oct 25 07:17:45 2002
+++ php4/README.TESTING Fri Oct 25 14:09:55 2002
@@ -247,6 +247,13 @@
 "skipif.inc" and an include file used in the FILE section of many tests
 should be named "test.inc".
 
+If your test intentionally generates a PHP warning message, insert
+'track_errors=1' into the --INI-- section. This will store the 
+warning inside a $php_errormsg variable, which you can then output.
+This will result in a consistent error message output across all platforms
+and PHP configurations, preventing your test from failing due inconsistencies
+in the error message content.
+
 [How to help us]
 ----------------
  If you find bug in PHP, you can submit bug report AND test script 



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

Reply via email to