3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a ="zz"; $b = "zz"; $a++; $b--; var_dump($a); var_dump($b); $c = "zz"; $c += 1; var_dump($c);
Output for 7.1.0
string(3) "aaa" string(2) "zz" Warning: A non-numeric value encountered in /in/Ac2gO on line 13 int(1)
Output for 4.3.0 - 7.0.14
string(3) "aaa" string(2) "zz" int(1)