1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 09:12:14 +01:00
Files
archived-php-src/tests/basic/026.phpt
Antony Dovgal c355a6a813 fix test
2008-01-10 08:45:54 +00:00

23 lines
393 B
PHP

--TEST--
Registration of HTTP_RAW_POST_DATA due to unknown content-type
--INI--
magic_quotes_gpc=0
always_populate_raw_post_data=0
--SKIPIF--
<?php if (php_sapi_name()=='cli') echo 'skip'; ?>
--POST_RAW--
Content-Type: unknown/type
a=1&b=ZYX
--FILE--
<?php
var_dump($_POST, $HTTP_RAW_POST_DATA);
?>
--EXPECT--
array(0) {
}
string(9) "a=1&b=ZYX"
--UEXPECT--
array(0) {
}
unicode(9) "a=1&b=ZYX"