3v4l.org

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