3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(PHP_SAPI);
based on O3JTe
Output for 5.2.3 - 7.1.0
string(3) "cli"
Output for 4.3.0 - 5.2.2
string(3) "cgi"