Re: [PHP-DEV] PHP 5.0.3 losing $this - followup.

2005-03-05 Thread Yermo Lamers
> I'll go through your email later but note that E_STRICT is not part of E_ALL. Please run E_ALL|E_STRICT Interestingly enough, although E_ALL|E_STRICT generates the correct return() error message in the test case, it does /NOT/ generate any such error messages when running the full body of my p

Re: [PHP-DEV] PHP 5.0.3 losing $this - followup.

2005-03-05 Thread Yermo Lamers
> I'll go through your email later but note that E_STRICT is not part of > E_ALL. Please run E_ALL|E_STRICT Learn something new every day. Disregard. I had always thought E_STRICT was part of E_ALL. (And if I could read I would see it clearly states that in php.ini ) With E_STRICT turned on

Re: [PHP-DEV] PHP 5.0.3 losing $this - followup.

2005-03-05 Thread Andi Gutmans
I'll go through your email later but note that E_STRICT is not part of E_ALL. Please run E_ALL|E_STRICT Thanks. At 09:35 PM 3/5/2005 -0500, Yermo Lamers wrote: Andi, > Are you getting an error message if you set E_STRICT? I always run E_ALL. I've noticed that warnings and error messages are quite

Re: [PHP-DEV] PHP 5.0.3 losing $this - followup.

2005-03-05 Thread Yermo Lamers
Andi, > Are you getting an error message if you set E_STRICT? I always run E_ALL. I've noticed that warnings and error messages are quite sporadic. Upgrade a minor revision and code that worked before suddenly fails with errors. > Actually this code is not supposed to work in the first place. Th

Re: [PHP-DEV] PHP 5.0.3 losing $this - followup.

2005-03-05 Thread Andi Gutmans
Hi Jermo, Are you getting an error message if you set E_STRICT? Actually this code is not supposed to work in the first place. The reason is that you are only allowed to return variables by reference (like in many other languages). There was a bug in PHP 4 and early versions of PHP 5 which allow