3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(http_build_query('whatever'));

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Output for Typed properties v2
Warning: http_build_query(): Parameter 1 expected to be Array or Object. Incorrect value given in /in/MpO2o on line 3 bool(false)
Output for Arrow functions
Warning: http_build_query(): Parameter 1 expected to be Array or Object. Incorrect value given in /in/MpO2o on line 3 bool(false)
Output for Object typehint
Warning: http_build_query(): Parameter 1 expected to be Array or Object. Incorrect value given in /in/MpO2o on line 3 bool(false)
Output for Array change keys
Warning: http_build_query(): Parameter 1 expected to be Array or Object. Incorrect value given in /in/MpO2o on line 3 bool(false)
Output for Lexical anon
Warning: http_build_query(): Parameter 1 expected to be Array or Object. Incorrect value given in /in/MpO2o on line 3 bool(false)

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page