3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $query['test'] = [111, 222, 333]; echo http_build_query($query);
based on 2OKij
Output for 5.6.38 - 7.2.12
test%5B0%5D=111&test%5B1%5D=222&test%5B2%5D=333