<?php $in = [1,2,3]; function foo($bar) { $bar[1] = 'herp'; } foo($in); var_dump($in);
You have javascript disabled. You will not be able to edit any code.