3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $sum = (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; echo 'The sum is '.$sum;
based on PbeNe
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
The sum is 2