public function &__get($name) { $this->start(); if ($this->warnOnUndefined && !array_key_exists($name, $this->data)) { trigger_error("The variable '{$name}' does not exist in session section"); } return $this->data[$name]; }