3v4l.org

run code in 300+ PHP versions simultaneously
<?hh function foo(int &$foo) { $foo = 346; } $y = vec[1,2,3]; foo($y[2]); var_dump($y);

This is an error 404

There are `0` results


preferences:
130.31 ms | 1445 KiB | 7 Q