3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function f($number) { if ($number < 2) return $number; return $number * ($number - 1); } echo f(25);
based on RfWOi
Output for 4.3.0 - 7.1.0
600