Re: RFC: ext/mysql deprecation
| From: | Rasmus Lerdorf | Date: | Fri, 16 Nov 2012 08:55:31 +0000 |
| Subject: | Re: RFC: ext/mysql deprecation | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-63913@lists.php.net to get a copy of this message | ||
On 11/16/2012 12:51 AM, Patrick ALLAERT wrote:
> Rasmus,
>
> As per the RFC: adding E_DEPRECATED only in mysql_connect(),
> mysql_pconnect(). Which means only one error (normally) by request.
I still don't see the point of using E_DEPRECATED like this for an
entire extension. And I think it will hurt more than it will help for an
extension this heavily used. It is going to encourage people to simply
turn off that warning because they will get it on every single request
which means they will never see the more subtle and granular
E_DEPRECATED warnings from other parts of their code.
-Rasmus