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]' => '', ]; $query_params2 = [ 'tx_kesearch_pi1' => [ 'page' => 1, 'resetFilters' => 0, 'sortByField' => '', 'sortByDir' => '', ] ]; echo urldecode(http_build_query($query_params2));
based on 5a2b0
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.3.1
tx_kesearch_pi1[page]=1&tx_kesearch_pi1[resetFilters]=0&tx_kesearch_pi1[sortByField]=&tx_kesearch_pi1[sortByDir]=