3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo http_build_query(['a' => '23 45']);
Output for 5.4.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
a=23+45
Output for 5.3.28 - 5.3.29
Parse error: syntax error, unexpected '[', expecting ')' in /in/eSIRv on line 3
Process exited with code 255.
Output for 5.2.15 - 5.3.27
Parse error: syntax error, unexpected '[', expecting ')' in /in/pik4r on line 3
Process exited with code 255.