3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array_expression = array('s'=>'b','y'=>'g'); foreach ($array_expression as $key => $value) { show(':' . $key, $value); } var_dump($array_expression); function show($a,$b){ $a = 'sss'; $b = 'bbb'; }
Output for 4.3.0 - 7.2.0
array(2) { ["s"]=> string(1) "b" ["y"]=> string(1) "g" }