3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array(60,56.8,42.08,52.16,52.8); $array = array(60,56.8,42.08,52.16,52.8); while(count($array) > 0){ $first = array_shift($array); foreach($array as $value){ echo "$first + $value = " . ($first + $value) . "<br/>\n"; $result[] = $first + $value; } }
Output for git.master, git.master_jit, rfc.property-hooks
60 + 56.8 = 116.8<br/> 60 + 42.08 = 102.08<br/> 60 + 52.16 = 112.16<br/> 60 + 52.8 = 112.8<br/> 56.8 + 42.08 = 98.88<br/> 56.8 + 52.16 = 108.96<br/> 56.8 + 52.8 = 109.6<br/> 42.08 + 52.16 = 94.24<br/> 42.08 + 52.8 = 94.88<br/> 52.16 + 52.8 = 104.96<br/>

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