3v4l.org

run code in 300+ PHP versions simultaneously
<?php // $aaa {} $aaa {} // parse it into variables // using php // $aaa {} $aaa {} $text { color: red;} $xfkskhlf {} $string = '$aaa {} $aaa {}'; var_dump(parseString($string)); function parseString($string) { $output = array(); //logic $string = explode("}", $string); foreach ($string as $key->$value) { $output[$key] = $value; } return $output ; }
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $value in /in/8AZLU on line 18 Fatal error: Uncaught Error: Attempt to assign property "" on null in /in/8AZLU:18 Stack trace: #0 /in/8AZLU(11): parseString(Array) #1 {main} thrown in /in/8AZLU on line 18
Process exited with code 255.

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