3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $sum = 1; for($x=1; $x<=10; $x++) { $sum +=$x; } echo "The sum of the numbers 0 to 30 is $sum"."\n"; ?>
based on jvU5D
Output for 5.6.0 - 7.3.0alpha1
The sum of the numbers 0 to 30 is 56