3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $foo = "0wz"; $foo++; $foo++; echo "PHP goes to $foo"; var_dump("0wz" + 1);
Output for 7.1.0
PHP goes to 0xb Notice: A non well formed numeric value encountered in /in/JPi3v on line 3 int(1)
Output for 7.0.0 - 7.0.14
PHP goes to 0xbint(1)
Output for 4.3.0 - 5.6.28
PHP goes to 11int(1)