<?php class Foo { public function bar(&$data) { $data['baz'] = 'test'; } } call_user_func_array(['Foo', 'bar'], [&$data]); var_dump($data);
You have javascript disabled. You will not be able to edit any code.