3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(__LINE__, __COMPILER_HALT_OFFSET__);
based on hnDip
Output for 4.3.0 - 5.6.28, 7.0.0 - 7.1.0
Notice: Use of undefined constant __COMPILER_HALT_OFFSET__ - assumed '__COMPILER_HALT_OFFSET__' in /in/f8bBM on line 3 int(3) string(24) "__COMPILER_HALT_OFFSET__"
Output for hhvm-3.10.0 - 3.12.0
int(3) int(0)