3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i = 1; $i <= 100; $i++) { if ($i % 3 == 0) { echo "fizz"; } if ($i % 5 == 0) { echo "buzz"; } if ($i % 3 !== 0 && $i % 5 !== 0) { echo $i; } }
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:
60.5 ms | 402 KiB | 8 Q