3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = array('key1' => 'value1', 'key2' => 'value2); echo http_build_query($arr, '', ' ');
Output for 5.4.0 - 5.4.30
Parse error: syntax error, unexpected '', '' (T_CONSTANT_ENCAPSED_STRING), expecting ')' in /in/2NT8s on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /in/2NT8s on line 5
Process exited with code 255.