3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function whipme() { $a--; var_dump(++$a); } whipme(NULL); whipme(0);
Output for 5.0.4 - 7.1.0
Notice: Undefined variable: a in /in/OiMtv on line 5 int(1) Notice: Undefined variable: a in /in/OiMtv on line 5 int(1)
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: a in /in/OiMtv on line 5 int(1) Notice: Undefined variable: a in /in/OiMtv on line 5 int(1)