3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array = array( 'values' => array(1,54,231,12) ); echo http_build_query($array);
Output for 5.1.3 - 7.2.0
values%5B0%5D=1&values%5B1%5D=54&values%5B2%5D=231&values%5B3%5D=12
Output for 5.0.0 - 5.1.2
values[0]=1&values[1]=54&values[2]=231&values[3]=12
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: http_build_query() in /in/9OKAl on line 5
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: http_build_query() in /in/9OKAl on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: http_build_query() in /in/9OKAl on line 5