3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump('0d9' + 1); $foo = '0d9'; $foo++; var_dump($foo); $foo = '0d9'; $foo += 1; var_dump($foo);
based on SaDnk
Output for 7.1.0 - 7.2.0
Notice: A non well formed numeric value encountered in /in/HLuj3 on line 2 int(1) string(3) "0e0" Notice: A non well formed numeric value encountered in /in/HLuj3 on line 4 int(1)
Output for 5.3.21 - 7.0.20
int(1) string(3) "0e0" int(1)