3v4l.org

run code in 300+ PHP versions simultaneously
<?php $exam = array("First-Term","Second-Term", "Third-Term"); foreach (array_values($exam) as $i => $value) { echo "{$value}\n"; } foreach (array_values($exam) as $i => $value) { echo "// And its mark\n"; } echo "\n\n"; foreach (array_values($exam) as $i => $value) { echo "{$value}\n"; echo "// And its mark\n\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
First-Term Second-Term Third-Term // And its mark // And its mark // And its mark First-Term // And its mark Second-Term // And its mark Third-Term // And its mark

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