3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(HHVM_VERSION);
based on ffsJE
Output for 7.2.0
Warning: Use of undefined constant HHVM_VERSION - assumed 'HHVM_VERSION' (this will throw an Error in a future version of PHP) in /in/O41aF on line 3 string(12) "HHVM_VERSION"
Output for 4.3.0 - 5.6.30, 7.0.0 - 7.1.7
Notice: Use of undefined constant HHVM_VERSION - assumed 'HHVM_VERSION' in /in/O41aF on line 3 string(12) "HHVM_VERSION"
Output for hhvm-3.17.3
string(6) "3.17.3"
Output for hhvm-3.15.4
string(6) "3.15.4"
Output for hhvm-3.13.2
string(6) "3.13.2"
Output for hhvm-3.12.14

Process exited with code 137.
Output for hhvm-3.11.1
string(6) "3.11.1"
Output for hhvm-3.10.1
string(6) "3.10.1"