3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php parse_str('a[1]=foo&a[100]=bar'); var_dump($a);
based on Erigf
Output for 7.2.0 - 7.3.1
Deprecated: parse_str(): Calling parse_str() without the result argument is deprecated in /in/k30eb on line 3 array(2) { [1]=> string(3) "foo" [100]=> string(3) "bar" }
Output for 5.5.0 - 7.1.25
array(2) { [1]=> string(3) "foo" [100]=> string(3) "bar" }