Why this code doesn't work?
public function get($key) {
return isset($_SESSION[$key]) ? &$_SESSION[$key] : false;
}
Error
Parse error: syntax error, unexpected '&' in C:\Arquivos de programas\EasyPHP-5.3.3\www\myphpblog\code\sessionstorage.class.php on line 12
Thank you.