3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $z = 'z'; //var_dump($z++); var_dump($z + 1); $z++; var_dump($z); $z = $z + 1; var_dump($z);
based on rKcVo
Output for 7.1.0 - 7.1.7
Warning: A non-numeric value encountered in /in/JSo6g on line 4 int(1) string(2) "aa" Warning: A non-numeric value encountered in /in/JSo6g on line 7 int(1)
Output for 4.3.0 - 7.0.20
int(1) string(2) "aa" int(1)