tony2001 Tue Jun 5 10:59:25 2007 UTC
Modified files: (Branch: PHP_5_2)
/php-src run-tests.php
/php-src/tests/basic 025.phpt
Log:
enable display_startup_errors, fix test
http://cvs.php.net/viewvc.cgi/php-src/run-tests.php?r1=1.226.2.37.2.29&r2=1.226.2.37.2.30&diff_format=u
Index: php-src/run-tests.php
diff -u php-src/run-tests.php:1.226.2.37.2.29
php-src/run-tests.php:1.226.2.37.2.30
--- php-src/run-tests.php:1.226.2.37.2.29 Sun May 27 19:23:09 2007
+++ php-src/run-tests.php Tue Jun 5 10:59:25 2007
@@ -23,7 +23,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: run-tests.php,v 1.226.2.37.2.29 2007/05/27 19:23:09 tony2001 Exp $ */
+/* $Id: run-tests.php,v 1.226.2.37.2.30 2007/06/05 10:59:25 tony2001 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
@@ -160,6 +160,7 @@
'output_buffering=Off',
'error_reporting=8191',
'display_errors=1',
+ 'display_startup_errors=1',
'log_errors=0',
'html_errors=0',
'track_errors=1',
@@ -398,7 +399,7 @@
$html_output = is_resource($html_file);
break;
case '--version':
- echo '$Revision: 1.226.2.37.2.29
$'."\n";
+ echo '$Revision: 1.226.2.37.2.30
$'."\n";
exit(1);
default:
echo "Illegal switch '$switch'
specified!\n";
http://cvs.php.net/viewvc.cgi/php-src/tests/basic/025.phpt?r1=1.1.2.1&r2=1.1.2.2&diff_format=u
Index: php-src/tests/basic/025.phpt
diff -u php-src/tests/basic/025.phpt:1.1.2.1
php-src/tests/basic/025.phpt:1.1.2.2
--- php-src/tests/basic/025.phpt:1.1.2.1 Sun May 6 16:30:09 2007
+++ php-src/tests/basic/025.phpt Tue Jun 5 10:59:25 2007
@@ -13,7 +13,11 @@
var_dump($_POST, $HTTP_RAW_POST_DATA);
?>
--EXPECTF--
-Notice: Undefined variable: HTTP_RAW_POST_DATA in %s/tests/basic/025.php on
line 2
+Warning: Unknown: POST Content-Length of 2050 bytes exceeds the limit of 1024
bytes in Unknown on line 0
+
+Warning: Cannot modify header information - headers already sent in Unknown on
line 0
+
+Notice: Undefined variable: HTTP_RAW_POST_DATA in %s on line %d
array(0) {
}
-NULL
\ No newline at end of file
+NULL
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php