diff options
Diffstat (limited to 'tests/basic')
-rw-r--r-- | tests/basic/012.phpt | 2 | ||||
-rw-r--r-- | tests/basic/025.phpt | 2 | ||||
-rw-r--r-- | tests/basic/027.phpt | 33 | ||||
-rw-r--r-- | tests/basic/bug71273.phpt | 6 | ||||
-rw-r--r-- | tests/basic/enable_post_data_reading_01.phpt | 2 | ||||
-rw-r--r-- | tests/basic/enable_post_data_reading_03.phpt | 2 | ||||
-rw-r--r-- | tests/basic/enable_post_data_reading_04.phpt | 2 |
7 files changed, 4 insertions, 45 deletions
diff --git a/tests/basic/012.phpt b/tests/basic/012.phpt index 038d4beff9..50af0b49f6 100644 --- a/tests/basic/012.phpt +++ b/tests/basic/012.phpt @@ -1,7 +1,5 @@ --TEST-- Testing $argc and $argv handling (cli) ---SKIPIF-- -<?php if(php_sapi_name()!='cli') echo 'skip'; ?> --INI-- register_argc_argv=1 variables_order=GPS diff --git a/tests/basic/025.phpt b/tests/basic/025.phpt index 37561a2a2e..30d50c805d 100644 --- a/tests/basic/025.phpt +++ b/tests/basic/025.phpt @@ -15,7 +15,7 @@ Warning: Unknown: POST Content-Length of 2050 bytes exceeds the limit of 1024 by 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 +Warning: Undefined variable: HTTP_RAW_POST_DATA in %s on line %d array(0) { } NULL diff --git a/tests/basic/027.phpt b/tests/basic/027.phpt deleted file mode 100644 index 0528e835a1..0000000000 --- a/tests/basic/027.phpt +++ /dev/null @@ -1,33 +0,0 @@ ---TEST-- -Handling of max_input_nesting_level being reached ---INI-- -always_populate_raw_post_data=0 -display_errors=0 -max_input_nesting_level=10 -max_input_vars=1000 -track_errors=1 -log_errors=0 ---POST-- -a=1&b=ZYX&c[][][][][][][][][][][][][][][][][][][][][][]=123&d=123&e[][]][]=3 ---FILE-- -<?php -var_dump($_POST, $php_errormsg); -?> ---EXPECT-- -array(4) { - ["a"]=> - string(1) "1" - ["b"]=> - string(3) "ZYX" - ["d"]=> - string(3) "123" - ["e"]=> - array(1) { - [0]=> - array(1) { - [0]=> - string(1) "3" - } - } -} -string(115) "Unknown: Input variable nesting level exceeded 10. To increase the limit change max_input_nesting_level in php.ini." diff --git a/tests/basic/bug71273.phpt b/tests/basic/bug71273.phpt index 3db4454605..3e32b7a4b7 100644 --- a/tests/basic/bug71273.phpt +++ b/tests/basic/bug71273.phpt @@ -1,11 +1,5 @@ --TEST-- Bug #71273 A wrong ext directory setup in php.ini leads to crash ---SKIPIF-- -<?php - if ("cli" != php_sapi_name()) { - die("skip CLI only"); - } -?> --FILE-- <?php /* NOTE this file is required to be encoded in iso-8859-1 */ diff --git a/tests/basic/enable_post_data_reading_01.phpt b/tests/basic/enable_post_data_reading_01.phpt index 19ee5d583f..d717b2b0b0 100644 --- a/tests/basic/enable_post_data_reading_01.phpt +++ b/tests/basic/enable_post_data_reading_01.phpt @@ -18,7 +18,7 @@ array(0) { array(0) { } -Notice: Undefined variable: HTTP_RAW_POST_DATA in %s on line %d +Warning: Undefined variable: HTTP_RAW_POST_DATA in %s on line %d NULL string(9) "a=1&b=ZYX" string(9) "a=1&b=ZYX" diff --git a/tests/basic/enable_post_data_reading_03.phpt b/tests/basic/enable_post_data_reading_03.phpt index 6a62282ea2..5982f61c91 100644 --- a/tests/basic/enable_post_data_reading_03.phpt +++ b/tests/basic/enable_post_data_reading_03.phpt @@ -19,7 +19,7 @@ array(0) { array(0) { } -Notice: Undefined variable: HTTP_RAW_POST_DATA in %s on line %d +Warning: Undefined variable: HTTP_RAW_POST_DATA in %s on line %d NULL string(9) "a=1&b=ZYX" string(9) "a=1&b=ZYX" diff --git a/tests/basic/enable_post_data_reading_04.phpt b/tests/basic/enable_post_data_reading_04.phpt index a7c7e496d8..17432e9298 100644 --- a/tests/basic/enable_post_data_reading_04.phpt +++ b/tests/basic/enable_post_data_reading_04.phpt @@ -19,7 +19,7 @@ array(0) { array(0) { } -Notice: Undefined variable: HTTP_RAW_POST_DATA in %s on line %d +Warning: Undefined variable: HTTP_RAW_POST_DATA in %s on line %d NULL string(9) "a=1&b=ZYX" string(9) "a=1&b=ZYX" |