3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr = []; parse_str(urldecode("http:\/\/somedomain.com\/query\/publications?page=1\u0026limit=10\u0026publication_filter%5Bids%5D%5B0%5D=116\u0026publication_filter%5Bids%5D%5B1%5D=117\u0026publication_filter%5Bstatus%5D%5B0%5D=published\u0026publication_filter%5Bstatus%5D%5B1%5D=draft\u0026publication_filter%5Bstatus%5D%5B2%5D=planned\u0026sorts=-updateDate%7C-createdAt"), $arr); var_dump($arr);
based on e1IZn
Output for 5.6.30, hhvm-3.18.5 - 3.22.0, 7.0.30 - 7.3.0alpha1
array(1) { ["http:\/\/somedomain_com\/query\/publications?page"]=> string(250) "1\u0026limit=10\u0026publication_filter[ids][0]=116\u0026publication_filter[ids][1]=117\u0026publication_filter[status][0]=published\u0026publication_filter[status][1]=draft\u0026publication_filter[status][2]=planned\u0026sorts=-updateDate|-createdAt" }