3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $sort_item = 'list[]=12&list[]=11&list[]=13&list[]=10&list[]=9&list[]=8&list[]=7&list[]=6&list[]=5&list[]=4&list[]=3&list[]=1'; // $sort_item = str_replace('%25', '', $sort_item); // $sort_item = str_replace('%5B', '[', $sort_item); // $sort_item = str_replace('%5D', ']', $sort_item); // 配列化 var_dump(parse_str($sort_item, $sort_item));
based on RRdIX
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.22.0, 7.0.0 - 7.3.0beta1
NULL