3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo ("0x15" + 1); echo ("0x" . dechex(15) + 1);
based on qHeQm
Output for 7.1.0 - 7.2.0
Notice: A non well formed numeric value encountered in /in/sr9em on line 2 1 Notice: A non well formed numeric value encountered in /in/sr9em on line 3 1
Output for 7.0.0 - 7.0.20
11
Output for 5.3.19 - 5.6.28
2216