3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(__PHPVERSION__);
Output for 7.2.0
Warning: Use of undefined constant __PHPVERSION__ - assumed '__PHPVERSION__' (this will throw an Error in a future version of PHP) in /in/fYdDS on line 2 string(14) "__PHPVERSION__"
Output for 4.3.0 - 7.1.10
Notice: Use of undefined constant __PHPVERSION__ - assumed '__PHPVERSION__' in /in/fYdDS on line 2 string(14) "__PHPVERSION__"