3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function func($a, $b) { $a += 5; $b += 7; return array($a, $b); } $a = 0; $b = 0; list($a, $b) = func(5,2); echo $a . ' ' . $b;
Output for 4.3.0 - 7.1.0
10 9