RE: [PHP-DEV] Compatibility problems with PHP 5
| From: | Lukas Smith | Date: | Mon, 01 Dec 2003 09:56:29 +0000 |
| Subject: | RE: [PHP-DEV] Compatibility problems with PHP 5 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-5854@lists.php.net to get a copy of this message | ||
> From: Andi Gutmans [mailto:andi@zend.com]
> Sent: Sunday, November 30, 2003 12:10 AM
> The strict was introduced so that we can add warnings about practices we
> recommend and deprecated behavior.
> I think "var" belongs there.
> We could remove E_STRICT from E_ALL (although that'd be a bit hacky) and
> save ppl the trouble of seeing these warnings.
> Then again, we could remove the warning about var but I'm not sure I'd
> want
> to do that.
Well I would make E_ALL a subset of E_STRICT.
This would be the cleanest for BC. Of course it might be confusing since
"ALL" implies everything ..
Regards,
Lukas