<?php var_dump(array_reduce(['foo', 'bar'], function (array &$agg, $val) { $agg[] = $val; }, [42]));
You have javascript disabled. You will not be able to edit any code.