3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $query_params = [ 'tx_kesearch_pi1[page]' => 1, 'tx_kesearch_pi1[resetFilters]' => 0, 'tx_kesearch_pi1[sortByField]' => '', 'tx_kesearch_pi1[sortByDir]' => '', ]; echo http_build_query($query_params);
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.3.1
tx_kesearch_pi1%5Bpage%5D=1&tx_kesearch_pi1%5BresetFilters%5D=0&tx_kesearch_pi1%5BsortByField%5D=&tx_kesearch_pi1%5BsortByDir%5D=