Re: [PHP-DEV] ext/mysql in PECL and E_DEPRECATED

2012-11-30 Thread Pierre Joye
On Fri, Nov 30, 2012 at 12:57 AM, David Muir wrote: > On 30/11/12 05:25, Ángel González wrote: >> On 29/11/12 18:17, Anthony Ferrara wrote: >>> Just pointing this out: that's NOT what this RFC recommends, and is >>> NOT what's being voted on. This RFC is talking about ONLY adding >>> E_DEPRECATED

Re: [PHP-DEV] ext/mysql in PECL and E_DEPRECATED

2012-11-29 Thread Kris Craig
On Thu, Nov 29, 2012 at 3:57 PM, David Muir wrote: > On 30/11/12 05:25, Ángel González wrote: > > On 29/11/12 18:17, Anthony Ferrara wrote: > >> Just pointing this out: that's NOT what this RFC recommends, and is > >> NOT what's being voted on. This RFC is talking about ONLY adding > >> E_DEPRECA

Re: [PHP-DEV] ext/mysql in PECL and E_DEPRECATED

2012-11-29 Thread David Muir
On 30/11/12 05:25, Ángel González wrote: > On 29/11/12 18:17, Anthony Ferrara wrote: >> Just pointing this out: that's NOT what this RFC recommends, and is >> NOT what's being voted on. This RFC is talking about ONLY adding >> E_DEPRECATED to core. And the way it's proposed to be done, the >> "move

Re: [PHP-DEV] ext/mysql in PECL and E_DEPRECATED

2012-11-29 Thread Ángel González
On 29/11/12 18:17, Anthony Ferrara wrote: > Just pointing this out: that's NOT what this RFC recommends, and is > NOT what's being voted on. This RFC is talking about ONLY adding > E_DEPRECATED to core. And the way it's proposed to be done, the > "moves-to-PECL" couldn't happen, since it's hard-cod

Re: [PHP-DEV] ext/mysql in PECL and E_DEPRECATED

2012-11-29 Thread Anthony Ferrara
Angel On Thu, Nov 29, 2012 at 12:02 PM, Ángel González wrote: > David Muir wrote: > > On 29/11/12 05:09, Ángel González wrote: > >> I see it as simple to show E_DEPRECATED but not when installed from > >> PECL. > >> > >> 1) Add a > >> int mysql_extension_triggers_deprecated_warning = 1; > >> > >

Re: [PHP-DEV] ext/mysql in PECL and E_DEPRECATED

2012-11-29 Thread Ángel González
David Muir wrote: > On 29/11/12 05:09, Ángel González wrote: >> I see it as simple to show E_DEPRECATED but not when installed from >> PECL. >> >> 1) Add a >> int mysql_extension_triggers_deprecated_warning = 1; >> >> And use it as a conditional for triggering the warning. >> >> 2) Copy the extensi

Re: [PHP-DEV] ext/mysql in PECL and E_DEPRECATED

2012-11-29 Thread Pierre Joye
hi Alan! On Thu, Nov 29, 2012 at 12:11 AM, Mailing list wrote: > .. annoying top posting... Why do you top post too then? :) > This is getting close to a good solution. > > ini option mysql_is_deprecated - can not be set in .ini/htaccess etc, only > by ini_set() - so hosters/distros can not f

Re: [PHP-DEV] ext/mysql in PECL and E_DEPRECATED

2012-11-28 Thread David Muir
On 29/11/12 10:11, Mailing list wrote: .. annoying top posting... This is getting close to a good solution. ini option mysql_is_deprecated - can not be set in .ini/htaccess etc, only by ini_set() - so hosters/distros can not fix it... Normally added just before mysql_connect... ini_set('my

Re: [PHP-DEV] ext/mysql in PECL and E_DEPRECATED

2012-11-28 Thread Martin Nicholls
On 28/11/2012 23:11, Mailing list wrote: > - Users will get warnings on upgrading - it can not be hidden by > hosters/distros etc. Think you might be wildly underestimating the ability of both distros and stuff like cPanel to patch the extension. Then again - I think everybody might be. -- PHP I

Re: [PHP-DEV] ext/mysql in PECL and E_DEPRECATED

2012-11-28 Thread Mailing list
.. annoying top posting... This is getting close to a good solution. ini option mysql_is_deprecated - can not be set in .ini/htaccess etc, only by ini_set() - so hosters/distros can not fix it... Normally added just before mysql_connect... ini_set('mysql_is_deprecated', "I WILL NOT USE IT I

Re: [PHP-DEV] ext/mysql in PECL and E_DEPRECATED

2012-11-28 Thread David Muir
On 29/11/12 05:09, Ángel González wrote: I see it as simple to show E_DEPRECATED but not when installed from PECL. 1) Add a int mysql_extension_triggers_deprecated_warning = 1; And use it as a conditional for triggering the warning. 2) Copy the extension code to PECL 3) Add these changes in P

Re: [PHP-DEV] ext/mysql in PECL and E_DEPRECATED (was: [VOTE] ext/mysql deprecation in 5.5)

2012-11-28 Thread Ángel González
I see it as simple to show E_DEPRECATED but not when installed from PECL. 1) Add a int mysql_extension_triggers_deprecated_warning = 1; And use it as a conditional for triggering the warning. 2) Copy the extension code to PECL 3) Add these changes in PECL - If the mysql functions are not alread