3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function r(&$a) { $a['a'] = 123; $a['b'] = 456; } $a = [ 'a' => 'AAAA', 'c' => 789, ]; var_dump(r($a));
Output for 5.6.38 - 7.3.0rc3
NULL