3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $waa = "meukee!"; $result = parse_ini_string('waa2 = "meukee!" value = ${waa} value2 = $waa value3 = "${waa}"'); var_dump($result); //var_dump(ini_get_all()); $result = parse_ini_string('waa2 = "meukee!" value = ${date.timezone} value2 = $waa value3 = "${waa}"'); var_dump($result);
Output for 5.3.0 - 7.1.0
array(4) { ["waa2"]=> string(7) "meukee!" ["value"]=> string(0) "" ["value2"]=> string(4) "$waa" ["value3"]=> string(0) "" } array(4) { ["waa2"]=> string(7) "meukee!" ["value"]=> string(16) "Europe/Amsterdam" ["value2"]=> string(4) "$waa" ["value3"]=> string(0) "" }
Output for 5.0.0 - 5.2.17
Fatal error: Call to undefined function parse_ini_string() in /in/g07fh on line 5
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: parse_ini_string() in /in/g07fh on line 5
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: parse_ini_string() in /in/g07fh on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: parse_ini_string() in /in/g07fh on line 5