3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function f($a, $k){return print_r($a, true);} $ref = 'ref'; echo f(['no' => 'nope', 'yep' => &$ref], 'yep');
based on MHZg7
Output for 5.4.0 - 7.2.0
Array ( [no] => nope [yep] => ref )