public function push($type, $value, $reference = null) { $this->_stack[$this->_count++] = array('type' => $type, 'value' => $value, 'reference' => $reference); if ($type == 'Function') { $localeFunction = Calculation::_localeFunc($value); if ($localeFunction != $value) { $this->_stack[$this->_count - 1]['localeValue'] = $localeFunction; } } }