3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(0x0+beef); var_dump(0xbeef); var_dump(0x0+100); var_dump(0x100, 100);
Output for 7.1.0
Notice: Use of undefined constant beef - assumed 'beef' in /in/uTia2 on line 3 Warning: A non-numeric value encountered in /in/uTia2 on line 3 int(0) int(48879) int(100) int(256) int(100)
Output for 4.3.0 - 5.2.17, 5.3.11 - 7.0.14
Notice: Use of undefined constant beef - assumed 'beef' in /in/uTia2 on line 3 int(0) int(48879) int(100) int(256) int(100)
Output for 5.3.0 - 5.3.10
Notice: Use of undefined constant beef - assumed 'beef' in /in/uTia2 on line 3 int(48879) int(48879) int(356) int(256) int(100)