Re: [PHP] PHP 5.3.3 operator & problem

2011-06-02 Thread Lester Caine
李白|字一日 wrote: both php 5.1.6 and php 5.3.3 are php 5. but it seems they are different in processing& operator. PHP5.3 changed a lot of things that are more than simple updates so you need to treat 5.3 as a major upgrade. It was a sort of PHP6 rather than a .X more minor one, so a lot of thin

Re: [PHP] PHP 5.3.3 operator & problem

2011-06-01 Thread 李白|字一日
both php 5.1.6 and php 5.3.3 are php 5. but it seems they are different in processing & operator. 2011/6/2 Simon J Welsh > On 2/06/2011, at 2:44 PM, 李白|字一日 wrote: > > > hi, all > > > > i currently have a project which using & operator on creating a new > object. > > > > like: > > $class =& new

Re: [PHP] PHP 5.3.3 operator & problem

2011-06-01 Thread Simon J Welsh
On 2/06/2011, at 2:44 PM, 李白|字一日 wrote: > hi, all > > i currently have a project which using & operator on creating a new object. > > like: > $class =& new Class(); > > it works properly in php 5.1.6, > but not in php 5.3.3 > and it gives offset errors to me. > > is there anyone knows why an