3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function test($a, $b, $c) { $a = $b; $b = $c; $c = $a; return $a + $b + $c; } $a = 1; $b = 2; $c = 3; $b = test($a, $b, $c); $c = test($a, $b, $c); echo $a . " " . $b . " " . $c;
Output for 4.3.0 - 7.3.0rc4
1 7 17