3v4l.org

run code in 150+ 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 UUnNB
Output for 5.4.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
The sum is 18