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, ]; r($a) var_dump($a);
based on P4XVW
Output for 5.6.38 - 7.3.0rc3
Parse error: syntax error, unexpected 'var_dump' (T_STRING) in /in/Ktb8S on line 16
Process exited with code 255.