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