3v4l.org

run code in 300+ PHP versions simultaneously
<?php $message = 'The Da Vinci Code is a 2003 mystery-detective novel by Dan Brown'; $str_split = str_split($message); $x = 0; $y = 1; $farray[0] = 0; $farray[1] = 1; for($i=2;$i<=10;$i++) { $z = $x + $y; $farray[] = $z; $x=$y; $y=$z; } foreach($farray as $key=>$fvalue){ //echo $key . " => " . $fvalue . "\n"; echo $str_split[$fvalue]."-"; } ?>
Output for git.master, git.master_jit, rfc.property-hooks
T-h-h-e- -a-i-C-a-y-D-

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:
162.17 ms | 405 KiB | 5 Q