3v4l.org

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