3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function bla() { $a = 10; $b = 20; $c = 0; for ($i = 0; $i < 51000; $i++) { $c = (($a * $i) + $b * 2); $c++; } return $c; } var_dump(bla() + bla() + bla () + bla() + bla () + bla());
based on Natt7
Output for 5.5.0 - 7.3.0beta1
int(3060186)