3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "Höhö ich bin so gemein"; foreach (str_split($string) as $value) { var_dump( $value ); } echo PHP_EOL; var_dump($string[4]); echo PHP_EOL;
Output for git.master, git.master_jit, rfc.property-hooks
string(1) "H" string(1) "�" string(1) "�" string(1) "h" string(1) "�" string(1) "�" string(1) " " string(1) "i" string(1) "c" string(1) "h" string(1) " " string(1) "b" string(1) "i" string(1) "n" string(1) " " string(1) "s" string(1) "o" string(1) " " string(1) "g" string(1) "e" string(1) "m" string(1) "e" string(1) "i" string(1) "n" string(1) "�"

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:
35.53 ms | 402 KiB | 8 Q