Re: RFC: ext/mysql deprecation

From: Date: Mon, 12 Nov 2012 13:20:23 +0000
Subject: Re: RFC: ext/mysql deprecation
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-63804@lists.php.net to get a copy of this message
On 2012-11-12 17:00, Adam Harvey wrote:
Hi everyone, I've written an RFC to cover deprecating ext/mysql in PHP 5.5: https://wiki.php.net/rfc/mysql_deprecation. While we handled the soft deprecation in the documentation purely via a straw poll on Internals, I presume this will end up needing to go to a vote, hence the RFC. I won't rehash the background overly (there's some more detail in the RFC), other than to note that we've now had deprecation notices on all mysql_* functions in the manual for about six months and that the logical next step is to start generating E_DEPRECATED notices when users connect via mysql_connect(), mysql_pconnect() or the implicit ext/mysql connection routines.
While I fully understand the reasons behind this, I still believe this kind of thing should be done using the documentation only. Generating 'educational' notices will just annoy the end users and in 99% cases they can't do a thing about it - nobody's going to rewrite a large piece of legacy software just to make PHP happy. More notices doesn't necessarily mean less people are going to use ext/mysql, you can't hasten users to move if they don't really want to do it themselves. -- Wbr, Antony Dovgal --- http://pinba.org - realtime profiling for PHP

« previous php.internals (#63804) next »