3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = "" . "[group]\n". "var=123\n". "var2[]\n". "\n". "var2[]=a\n". "var2[]=b\n". "\n". " \n". "var3[1]=test1\n". "var3[2]=test2;test3\n". "[group2]\n". ""; var_dump($s); $r = parse_ini_string( $s , true, INI_SCANNER_RAW); var_dump($r);
Output for git.master, git.master_jit, rfc.property-hooks
string(91) "[group] var=123 var2[] var2[]=a var2[]=b var3[1]=test1 var3[2]=test2;test3 [group2] " Warning: syntax error, unexpected END_OF_LINE, expecting '=' in Unknown on line 4 in /in/8NtYb on line 17 bool(false)

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:
42.51 ms | 401 KiB | 8 Q