3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $i++; ++$j; $k += 1; var_dump($i); var_dump($j); var_dump($k);
Output for 5.0.4 - 7.1.0
Notice: Undefined variable: i in /in/GR482 on line 3 Notice: Undefined variable: j in /in/GR482 on line 4 Notice: Undefined variable: k in /in/GR482 on line 5 int(1) int(1) int(1)
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: i in /in/GR482 on line 3 Notice: Undefined variable: j in /in/GR482 on line 4 Notice: Undefined variable: k in /in/GR482 on line 5 int(1) int(1) int(1)