3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function s($rad){ return M_PI*(pow($rad/2,2)); } $r1=4; $r2=10; $r3=22; echo s($r1); ?>
based on 4cldF
Output for 5.6.38 - 7.3.0rc3
12.566370614359