Re: [RFC] E_DEPRECATED
| From: | Sebastian Bergmann | Date: | Tue, 24 Oct 2006 00:04:43 +0000 |
| Subject: | Re: [RFC] E_DEPRECATED | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-26213@lists.php.net to get a copy of this message | ||
Marcus Boerger wrote:
> - Add a new severity E_DEPRECATED
+1
> - severities are used as follows:
> . E_DEPRECATED: Some language featre that is likely to go away. Eearlierst
> removal would be two minor versions or one major version later. That is
> something that gets deprecated in 5.2 can be removed in 5.4.0 or 6.0.0.
> However both marking it as deprecated as well as removing it would
> require a consensus on the list.
> . E_STRICT any rule that reflects common strict standards, like OOP theory
> that is considered harmless if not followed. For example the combination
> 'abstract static' makes no sense in said theory but doesn't put our zend
> engine in an unstable state.
> . E_NOTICE or E_WARNING are used for input validations (e.g. domain errors).
+1
> - We delay 5.2.0 and revisit all errors and change them according to the
> new model. We also put any change into the upgrading file.
+1
--
Sebastian Bergmann http://sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69