3v4l.org

run code in 300+ PHP versions simultaneously
<?php $totaal["week1"][0] = 0.46; $totaal["week2"][1] = 2.87; $totaal["week3"][2] = 4.97; $totaal["week4"][3] = 4.35; $totaal["week5"][4] = 3.02; $totaal["week6"][5] = 2.03; $totaal["week7"][6] = 1.41; $totaal["week8"][7] = 1.12; $totaal["week9"][8] = 1.13; $sum = 0; foreach(array_values($totaal) as $index=>$item) $sum += reset($item); echo $sum; // 21.36 $totaal_vruchtzetting_week[10] = $sum;
Output for git.master, git.master_jit, rfc.property-hooks
21.36

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