3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function f(&$obst) { $obst['birne'] = 'gelb'; return $obst; } $obst['apfel'] = 'gruen'; $obst = f($obst); var_dump($blubb);
Output for 5.0.4 - 7.1.0
Notice: Undefined variable: blubb in /in/nu5qJ on line 9 NULL
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: blubb in /in/nu5qJ on line 9 NULL