3v4l.org

run code in 300+ PHP versions simultaneously
<?php parse_str("mytext=A %26 B Company&anothertext=20&texttwo=SampleText&array[1]=10&array[2]=20", $result); var_dump($result);
Output for 7.4.0 - 7.4.33, 8.0.1 - 8.0.30, 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) { ["mytext"]=> string(13) "A & B Company" ["anothertext"]=> string(2) "20" ["texttwo"]=> string(10) "SampleText" ["array"]=> array(2) { [1]=> string(2) "10" [2]=> string(2) "20" } }

preferences:
86.07 ms | 1278 KiB | 4 Q