3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'some thing here'; foreach ($string as $char) { var_dump($char); } for ($i = 0; $i < strlen($string); $i++) { var_dump($string[$i]); }
Output for git.master, git.master_jit, rfc.property-hooks
Warning: foreach() argument must be of type array|object, string given in /in/XrYSX on line 5 string(1) "s" string(1) "o" string(1) "m" string(1) "e" string(1) " " string(1) "t" string(1) "h" string(1) "i" string(1) "n" string(1) "g" string(1) " " string(1) "h" string(1) "e" string(1) "r" string(1) "e"

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