# E_STRICT

- Thread: https://externals.io/message/5610
- Original archive: https://news-web.php.net/php.internals/5610
- Started by Ford on 2003-11-20T10:34:56+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #5610 — Ford — 2003-11-20T10:34:56+00:00

URL: https://externals.io/message/5610#5610

> > […]
> 
> .. and as Andi said earlier, removal without loud and clear warning
> will break thousands of scripts out there.  Making users do something
> special if they want to use their old code, is a much kinder option. 
> It might also kick people into updating those scripts before the
> deprecated functions actually die.

IMHO, progress from deprecated to removal should go through phases of increasing warning severity:

(1) the proposed `E_STRICT` (or E_DEPRECATED) which will emit a "silent" warning.

(2) a noisy warning -- at, say, `E_WARNING` level, which should catch most test servers but still be maskable on production boxes.  (This could even have its own new warning level of, say, E_UNSUPPORTED.)

(3) removal of the feature with an `E_ERROR` message.

My 2-pennorth would be that (1) and (3) should only happen at an X.0.0 release, with (2) ocurring somewhere suitable in between.

Cheers!

Mike

---------------------------------------------------------------------
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS,  LS6 3QS,  United Kingdom
Email: m.ford@leedsmet.ac.uk
Tel: +44 113 283 2600 extn 4730      Fax:  +44 113 283 3211
