Re: php5 and stuff

From: Date: Fri, 22 Aug 2003 11:53:55 +0000
Subject: Re: php5 and stuff
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-20389@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Lukas Smith, you wrote: > Hi, > I had to change things as follows > > function &query() > { > $foo = new foo; > return $foo; > } > Shouldn't you then use $foo = &new foo; for now (PHP4)? Or does PHP5 throw a warning using this syntax? Michael -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (Cygwin) iD8DBQE/RgRT3645gzRPvy8RApdDAJ4k/DSbJL8quBqqnlORK6oTNpaxEQCfepoa VwfEC1kfcVggZWDe3cVBuaI= =ym1L -----END PGP SIGNATURE-----

« previous php.pear.dev (#20389) next »