3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
vars.php <?php $i = 10; $t = 20; $e = 0; echo "I: $i\n"; echo "T: $t\n"; $e = addition($i,$t); echo "E: $e\n"; function addition($i, $t) { $e = $i+$t; return $e; } ?>
Output for 4.3.0 - 7.2.0
vars.php I: 10 T: 20 E: 30