Re: [PHP] PHP6 return by reference deprecation

2009-05-02 Thread Robert Cummings
On Sat, 2009-05-02 at 01:07 -0400, Paul M Foster wrote: > In another thread (which I mercifully declined to highjack), someone > cited: > > > Taken from http://www.corephp.co.uk/archives/19-Prepare-for-PHP-6.html > > And I read this: > > Both '$foo =& new StdClass()' and 'function &foo' will now

[PHP] PHP6 return by reference deprecation

2009-05-01 Thread Paul M Foster
In another thread (which I mercifully declined to highjack), someone cited: > Taken from http://www.corephp.co.uk/archives/19-Prepare-for-PHP-6.html And I read this: Both '$foo =& new StdClass()' and 'function &foo' will now raise an E_STRICT error. I don't use this much, but where I do, it's v