3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = "2d9"; $a++; $a++; echo "$a\n"; $a = "2d9"; $a+=2; echo "$a\n"; $a = "2d9"; $a++; echo "$a\n";
Output for 7.1.0
3 Notice: A non well formed numeric value encountered in /in/IprLq on line 4 4 2e0
Output for 4.3.0 - 5.6.21, hhvm-3.12.0, 7.0.0 - 7.0.14
3 4 2e0
Output for hhvm-3.10.0

Process exited with code 137.