Why the ampersand?

From: Date: Mon, 16 Apr 2007 15:24:14 +0000
Subject: Why the ampersand?
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-27063@lists.php.net to get a copy of this message
Hello people, I have a basic question about PEAR Packages. Why do all the objects have ampersands? They usually cause notices when a function has been written like function &functionname () And when assigning a variabele &= is used instead of =. I know that there was something with PHP4 and objects needing ampersands. But since they cause notices and look ugly, I tend to remove them (I use PHP 5.2.1). Is this OK to do? Regards, Alex Grasman

« previous php.pear.general (#27063) next »