3v4l.org

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