3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = <<<EOF # comment here [group] var=123 #comment var2[]= var2[]=true var2[]= var2[]=yes var2[]=disabled var3[a]=test1;test2 #more comment; etc var3[b]=test3,test3,test5|test6 [group2] EOF; $r = parse_ini_string( strtr($s, '#;',';#') , false, INI_SCANNER_RAW); var_dump($r);
Output for git.master, git.master_jit, rfc.property-hooks
array(3) { ["var"]=> string(3) "123" ["var2"]=> array(5) { [0]=> string(0) "" [1]=> string(4) "true" [2]=> string(0) "" [3]=> string(3) "yes" [4]=> string(8) "disabled" } ["var3"]=> array(2) { ["a"]=> string(11) "test1#test2" ["b"]=> string(23) "test3,test3,test5|test6" } }

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
36.17 ms | 402 KiB | 8 Q