felipe Tue Jul 22 19:53:00 2008 UTC
Modified files:
/php-src run-tests.php
Log:
- The error level must be E_ALL | E_STRICT.
http://cvs.php.net/viewvc.cgi/php-src/run-tests.php?r1=1.365&r2=1.366&diff_format=u
Index: php-src/run-tests.php
diff -u php-src/run-tests.php:1.365 php-src/run-tests.php:1.366
--- php-src/run-tests.php:1.365 Tue Jul 22 09:34:40 2008
+++ php-src/run-tests.php Tue Jul 22 19:53:00 2008
@@ -24,7 +24,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: run-tests.php,v 1.365 2008/07/22 09:34:40 sfox Exp $ */
+/* $Id: run-tests.php,v 1.366 2008/07/22 19:53:00 felipe Exp $ */
/* Sanity check to ensure that pcre extension needed by this script is
available.
* In the event it is not, print a nice error message indicating that this
script will
@@ -189,7 +189,7 @@
'safe_mode=0',
'disable_functions=',
'output_buffering=Off',
- 'error_reporting=' . ((PHP_MAJOR_VERSION == 5) ? '32767' :
'30719'),
+ 'error_reporting=' . (E_ALL | E_STRICT),
'display_errors=1',
'display_startup_errors=1',
'log_errors=0',
@@ -478,7 +478,7 @@
$html_output = is_resource($html_file);
break;
case '--version':
- echo '$Revision: 1.365 $' . "\n";
+ echo '$Revision: 1.366 $' . "\n";
exit(1);
default:
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php