3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $data = array ( 'userId' => 'xxxx', // authentication userId 'loginToken' => 'xxxx', // authentication loginToken 'id' => "123456", 'section' => 'LotRental' ); $data_string = http_build_query($data); var_dump($data_string);
based on rBASR
Output for 5.0.0 - 7.2.0
string(55) "userId=xxxx&loginToken=xxxx&id=123456&section=LotRental"
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: http_build_query() in /in/5mRpu on line 9
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: http_build_query() in /in/5mRpu on line 9
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: http_build_query() in /in/5mRpu on line 9