diff options
| author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-03-30 17:23:03 +0200 |
|---|---|---|
| committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-03-31 13:02:32 +0200 |
| commit | 36935e42eac054a422b7edade69923db7727f268 (patch) | |
| tree | e8d08101f42f5e8ee60ed423833df08725130807 /tests/basic | |
| parent | 6bf483a94abcac24a3f1fc09feed2c6fbf5d648f (diff) | |
| download | php-git-36935e42eac054a422b7edade69923db7727f268.tar.gz | |
Improve undefined variable error messages
Closes GH-5312
Diffstat (limited to 'tests/basic')
| -rw-r--r-- | tests/basic/025.phpt | 2 | ||||
| -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 |
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/basic/025.phpt b/tests/basic/025.phpt index 30d50c805d..5bc7bbdb8e 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 -Warning: 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/enable_post_data_reading_01.phpt b/tests/basic/enable_post_data_reading_01.phpt index d717b2b0b0..0ed3127392 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) { } -Warning: 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 5982f61c91..8366226919 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) { } -Warning: 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 17432e9298..71f62cbc8e 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) { } -Warning: 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" |
