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.29, 8.2.0 - 8.2.24, 8.3.0 - 8.3.12
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:
59.97 ms | 406 KiB | 5 Q