php-src/tests/basic/bug61000.phpt
Gabriel Caruso ded3d984c6 Use EXPECT instead of EXPECTF when possible
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
2018-02-20 21:53:48 +01:00

20 lines
262 B
PHP

--TEST--
Bug #61000 (Exceeding max nesting level doesn't delete numerical vars)
--INI--
max_input_nesting_level=2
--POST--
1[a][]=foo&1[a][b][c]=bar
--GET--
a[a][]=foo&a[a][b][c]=bar
--FILE--
<?php
print_r($_GET);
print_r($_POST);
--EXPECT--
Array
(
)
Array
(
)