3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $i = <<<INI bar = hello foo = 42 [foo] foo = 45 baz = world INI; $f = parse_ini_string($i); var_dump($f);
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.3.0beta1
array(3) { ["bar"]=> string(5) "hello" ["foo"]=> string(2) "45" ["baz"]=> string(5) "world" }