3v4l.org

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