On 19 November 2012 17:10, Chad Emrys <ad...@codeangel.org> wrote:
> On 11/17/2012 08:54 PM, Adam Harvey wrote:
>>
>> On 16/11/2012 8:58 PM, "Patrick ALLAERT" <patrickalla...@php.net> wrote:
>>> Maybe it is worth mentioning in the RFC what the E_DEPRECATED notice
>>> message would look like so that people hiding it know what the plan
>>> is.
>>> e.g.:
>>> "mysql_*() functions are, as of PHP 5.5, deprecated and will be
>>> removed in next major release. Use the mysqli_*() functions instead".
>>
>> Good point. I did put some proposed wording in the patch, but I'll add it
>> to the RFC when I get home tomorrow and am not just on a phone.
>>
> Could we not mention mysqli unless you mention PDO as well?

I've added the wording I put in the patch to the RFC. For the record, it is:

"The mysql extension is deprecated and will be removed in the future:
use mysqli or PDO instead"

This is basically a cut down version of the longer message in the
manual on each ext/mysql function, except explicitly noting the
deprecation. I'm not at all averse to adding a link to the Choosing an
API manual page to help developers make an informed choice (and,
ideally, we could beef that up to include more detail on what
migration actually looks like) — this does feel like something we
could tune after voting on the bigger issue, though.

My intention at this stage is to call a vote next Monday: it feels
like the discussion has mostly died down now (which isn't to say I
think we're at a consensus necessarily — it just feels as though the
flurry of opinions have been made and argued either way), and I'm
hoping that everyone can have a think about where and how they'd like
to see this move forward (if at all) between now and then. Given we've
only just hit alpha 1, I don't think we need to rush into a decision
right now for the sake of one.

Thanks to everyone so far for their input — I think it's been a
valuable, productive discussion.

Cheers,

Adam, who is still personally in favour of deprecation. :)

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to