<?php function &collector() { static $collection = array(); return $collection; } $collection = collector(); $collection[] = 'foo'; var_dump(collector());
You have javascript disabled. You will not be able to edit any code.