From: Antony Dovgal Date: Tue, 5 Jun 2007 10:59:25 +0000 (+0000) Subject: enable display_startup_errors, fix test X-Git-Tag: php-5.2.4RC1~422 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0b157a6f848119064601465a2efe6ff9961228bf;p=php enable display_startup_errors, fix test --- diff --git a/run-tests.php b/run-tests.php index 952be2759c..b9a22ffb35 100755 --- a/run-tests.php +++ b/run-tests.php @@ -160,6 +160,7 @@ $ini_overwrites = array( 'output_buffering=Off', 'error_reporting=8191', 'display_errors=1', + 'display_startup_errors=1', 'log_errors=0', 'html_errors=0', 'track_errors=1', diff --git a/tests/basic/025.phpt b/tests/basic/025.phpt index 2a3d5daf8b..fea9468b41 100644 --- a/tests/basic/025.phpt +++ b/tests/basic/025.phpt @@ -13,7 +13,11 @@ a=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 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