3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo 'The sum is '.( (1/2)^2 + (1/3)^2 + (1/4)^2 + (1/5)^2 + (1/6)^2 + (1/7)^2 + (1/8)^2 + (1/9)^2 + (1/10)^2 );
based on trkLC
Output for 5.4.0 - 7.2.0
The sum is 2