3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $input = array(); for ($i = 1; $i < 70; $i++) { $input['bgn_'.$i] = 'New'; } $post = http_build_query(array('test' => $input)); parse_str($post, $parsed); var_dump($parsed);
Output for 5.0.0 - 5.6.21, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
array(1) { ["test"]=> array(69) { ["bgn_1"]=> string(3) "New" ["bgn_2"]=> string(3) "New" ["bgn_3"]=> string(3) "New" ["bgn_4"]=> string(3) "New" ["bgn_5"]=> string(3) "New" ["bgn_6"]=> string(3) "New" ["bgn_7"]=> string(3) "New" ["bgn_8"]=> string(3) "New" ["bgn_9"]=> string(3) "New" ["bgn_10"]=> string(3) "New" ["bgn_11"]=> string(3) "New" ["bgn_12"]=> string(3) "New" ["bgn_13"]=> string(3) "New" ["bgn_14"]=> string(3) "New" ["bgn_15"]=> string(3) "New" ["bgn_16"]=> string(3) "New" ["bgn_17"]=> string(3) "New" ["bgn_18"]=> string(3) "New" ["bgn_19"]=> string(3) "New" ["bgn_20"]=> string(3) "New" ["bgn_21"]=> string(3) "New" ["bgn_22"]=> string(3) "New" ["bgn_23"]=> string(3) "New" ["bgn_24"]=> string(3) "New" ["bgn_25"]=> string(3) "New" ["bgn_26"]=> string(3) "New" ["bgn_27"]=> string(3) "New" ["bgn_28"]=> string(3) "New" ["bgn_29"]=> string(3) "New" ["bgn_30"]=> string(3) "New" ["bgn_31"]=> string(3) "New" ["bgn_32"]=> string(3) "New" ["bgn_33"]=> string(3) "New" ["bgn_34"]=> string(3) "New" ["bgn_35"]=> string(3) "New" ["bgn_36"]=> string(3) "New" ["bgn_37"]=> string(3) "New" ["bgn_38"]=> string(3) "New" ["bgn_39"]=> string(3) "New" ["bgn_40"]=> string(3) "New" ["bgn_41"]=> string(3) "New" ["bgn_42"]=> string(3) "New" ["bgn_43"]=> string(3) "New" ["bgn_44"]=> string(3) "New" ["bgn_45"]=> string(3) "New" ["bgn_46"]=> string(3) "New" ["bgn_47"]=> string(3) "New" ["bgn_48"]=> string(3) "New" ["bgn_49"]=> string(3) "New" ["bgn_50"]=> string(3) "New" ["bgn_51"]=> string(3) "New" ["bgn_52"]=> string(3) "New" ["bgn_53"]=> string(3) "New" ["bgn_54"]=> string(3) "New" ["bgn_55"]=> string(3) "New" ["bgn_56"]=> string(3) "New" ["bgn_57"]=> string(3) "New" ["bgn_58"]=> string(3) "New" ["bgn_59"]=> string(3) "New" ["bgn_60"]=> string(3) "New" ["bgn_61"]=> string(3) "New" ["bgn_62"]=> string(3) "New" ["bgn_63"]=> string(3) "New" ["bgn_64"]=> string(3) "New" ["bgn_65"]=> string(3) "New" ["bgn_66"]=> string(3) "New" ["bgn_67"]=> string(3) "New" ["bgn_68"]=> string(3) "New" ["bgn_69"]=> string(3) "New" } }
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: http_build_query() in /in/pKIk9 on line 8
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: http_build_query() in /in/pKIk9 on line 8
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: http_build_query() in /in/pKIk9 on line 8