<?php $arr = []; function test() { global $arr; return $arr[] = 'test'; } var_dump(test(), $arr);
You have javascript disabled. You will not be able to edit any code.