3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php list( $a, $b ) = array( 2, 4 ); var_dump($a,$b); for ( ; $a++, $a < $b; ) { $result = $a * $b; } var_dump( $result );
based on 3OEaJ
Output for 4.3.0 - 7.1.0
int(2) int(4) int(12)