3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach(range(1,100) as $number){ if($number % 3 === 0 && $number % 5 === 0){ echo "fizzbuzz"; }elseif($number % 3 === 0){ echo "fizz"; }elseif($number % 5 === 0){ echo "buzz"; }else{ echo $number; } }
Output for git.master, git.master_jit, rfc.property-hooks
12fizz4buzzfizz78fizzbuzz11fizz1314fizzbuzz1617fizz19buzzfizz2223fizzbuzz26fizz2829fizzbuzz3132fizz34buzzfizz3738fizzbuzz41fizz4344fizzbuzz4647fizz49buzzfizz5253fizzbuzz56fizz5859fizzbuzz6162fizz64buzzfizz6768fizzbuzz71fizz7374fizzbuzz7677fizz79buzzfizz8283fizzbuzz86fizz8889fizzbuzz9192fizz94buzzfizz9798fizzbuzz

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