& in arrays
Posted: Thu Mar 06, 2008 3:44 am
Hi
What is the job of the "&" in &options in the code below?
thanks
What is the job of the "&" in &options in the code below?
thanks
Code: Select all
function addSelect($name, $label, $default, &$options) {
$this->_elements[$name] = array('type' => 'select', 'label' => $label, 'value' => $default,
'options' => $options);
}