Re: E_STRICT
| From: | Markus Fischer | Date: | Sun, 30 Nov 2003 11:01:19 +0000 |
| Subject: | Re: E_STRICT | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-5821@lists.php.net to get a copy of this message | ||
On Wed, Nov 19, 2003 at 12:00:30AM +0200, Andi Gutmans wrote :
> Hey,
>
> I added an E_STRICT error level today which purists can use to make sure
> that there scripts are using the latest and greatest suggested method of
> coding (according to what we decide).
> Ideas are things like:
> a) Not using var for member variables but moving to PPP.
> b) Not using is_a but using instanceof.
>
> If you have any further ideas of stuff which makes sense to add to this
> option let me know. For obvious reasons this will be off by default.
Maybe it should be noted somewhere that E_ALL no longer is 2047 but
4095 in its value (maybe important for Apache php_value directives).
- Markus