3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ini = <<<ECS [section.with.subkeys] key=value ECS; var_dump(parse_ini_string($ini)); // parse_ini_string() default behavior var_dump(parse_ini_string($ini, false)); // equal to above var_dump(parse_ini_string($ini, true)); // Zend\Config\Reader\Ini default behavior
Output for 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.30, 8.2.0 - 8.2.25, 8.3.0 - 8.3.13
array(1) { ["key"]=> string(5) "value" } array(1) { ["key"]=> string(5) "value" } array(1) { ["section.with.subkeys"]=> array(1) { ["key"]=> string(5) "value" } }

preferences:
66.44 ms | 407 KiB | 5 Q