3v4l.org

run code in 150+ 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 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
vars.php I: 10 T: 20 E: 30