3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(0x0+beef); var_dump(0xbeef);
Output for 7.1.0
Notice: Use of undefined constant beef - assumed 'beef' in /in/6aOOB on line 3 Warning: A non-numeric value encountered in /in/6aOOB on line 3 int(0) int(48879)
Output for 4.3.0 - 5.2.17, 5.3.11 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.0.14
Notice: Use of undefined constant beef - assumed 'beef' in /in/6aOOB on line 3 int(0) int(48879)
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.3.0 - 5.3.10
Notice: Use of undefined constant beef - assumed 'beef' in /in/6aOOB on line 3 int(48879) int(48879)