3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print_r( parse_ini_string(' [replica0] db = user = pass = [replica0] db = user = pass = [replica0] db = user = pass = [replicla_sets] set1[] = replica0 set1[] = replica1 set1[] = replica2 set2[] = replica0 set2[] = replica1 ', true) );
Output for 5.3.0 - 7.2.0
Array ( [replica0] => Array ( [db] => [user] => [pass] => ) [replicla_sets] => Array ( [set1] => Array ( [0] => replica0 [1] => replica1 [2] => replica2 ) [set2] => Array ( [0] => replica0 [1] => replica1 ) ) )
Output for 5.0.0 - 5.2.17
Fatal error: Call to undefined function parse_ini_string() in /in/hK1UR on line 3
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: parse_ini_string() in /in/hK1UR on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: parse_ini_string() in /in/hK1UR on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: parse_ini_string() in /in/hK1UR on line 3