- Output for 5.3.0 - 5.3.15, 5.4.0 - 5.4.5
- Parse error: syntax error, unexpected '&' in /in/fY2cp on line 4
Process exited with code 255.
<?php
function f(&$obst) {
$obst['birne'] = 'gelb';
return &$obst;
}
$obst['apfel'] = 'gruen';
$obst2 = f($obst);
$obst2['foo'] = 'bar';
var_dump($obst, $obst2);