3v4l.org

run code in 300+ PHP versions simultaneously
<?php $frutas = array('maca','banana','melancia','melao','abacaxi','laranja'); foreach($frutas as $fruta){ echo "a fruta é: ".$fruta." "; }
Output for git.master, git.master_jit, rfc.property-hooks
a fruta é: maca a fruta é: banana a fruta é: melancia a fruta é: melao a fruta é: abacaxi a fruta é: laranja

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