3v4l.org

run code in 300+ PHP versions simultaneously
<?php $result = []; parse_str('foo=1&foo=2&foo=3&arr[]=foo+bar&arr[]=baz&[]=1&[]=2&code.1=printr%28hahaha&code 1=448044&test.mijn%5B%5D%5B2%5D=test%20Roemer&test%5Bmijn=test%202e%20Roemer', $result); var_dump($result);
Output for 8.1.0 - 8.1.34, 8.2.0 - 8.2.30, 8.3.0 - 8.3.30, 8.4.1 - 8.4.18, 8.5.0 - 8.5.3
array(4) { ["foo"]=> string(1) "3" ["arr"]=> array(2) { [0]=> string(7) "foo bar" [1]=> string(3) "baz" } ["code_1"]=> string(6) "448044" ["test_mijn"]=> string(14) "test 2e Roemer" }

preferences:
64.18 ms | 1005 KiB | 4 Q