3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for ( $a=3, $b=4; ++$a, $a < $b; ) { $result = $a * $b; } var_dump( $result );
based on Khusl
Output for 5.0.4 - 7.1.0
Notice: Undefined variable: result in /in/g8ndM on line 5 NULL
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: result in /in/g8ndM on line 5 NULL