3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function sum($a, $b) { return $a + $b; } sum(12, 34); sum(1, 2); sum(3, 4); $num1 = 123; $num2 = 456; var_dump(sum($num1, $num2));
based on FRe7R
Output for 4.3.0 - 7.2.6
int(579)