3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a++; $b+=1; var_dump($a); var_dump($b);
Output for 5.0.4 - 5.6.28, 7.0.0 - 7.1.0
Notice: Undefined variable: a in /in/1rLLt on line 3 Notice: Undefined variable: b in /in/1rLLt on line 4 int(1) int(1)
Output for hhvm-3.10.0 - 3.12.0
Notice: Undefined variable: a in /in/1rLLt on line 3 int(1) int(1)
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: a in /in/1rLLt on line 3 Notice: Undefined variable: b in /in/1rLLt on line 4 int(1) int(1)