Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-12 Thread David Soria Parra
On 2012-11-13, Adam Harvey wrote: > On 13 November 2012 01:16, Ferenc Kovacs wrote: >> On Mon, Nov 12, 2012 at 4:00 PM, Ulf Wendel wrote: >>> Don't bother. There is a standard way of deprecation, at least I assume >>> there is. Its proven. Use it: docs warnings, E_DEPRECATED, remove. >> >> I agr

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-12 Thread Christopher Jones
On 11/12/2012 07:08 PM, Adam Harvey wrote: On 13 November 2012 08:44, Christopher Jones wrote: Adam, can you: 1. Add this link to the RFC?: https://wikis.oracle.com/display/mysql/Converting+to+MySQLi 2. Mention how to turn off E_DEPRECATED warnings in the RFC? When users of 5.5

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-12 Thread Adam Harvey
On 13 November 2012 01:16, Ferenc Kovacs wrote: > On Mon, Nov 12, 2012 at 4:00 PM, Ulf Wendel wrote: >> Don't bother. There is a standard way of deprecation, at least I assume >> there is. Its proven. Use it: docs warnings, E_DEPRECATED, remove. > > I agree to deprecate/remove on the long run, bu

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-12 Thread Adam Harvey
On 13 November 2012 08:44, Christopher Jones wrote: > Adam, can you: > > 1. Add this link to the RFC?: > https://wikis.oracle.com/display/mysql/Converting+to+MySQLi > > 2. Mention how to turn off E_DEPRECATED warnings in the RFC? > > When users of 5.5 stumble on the new messages, we can t

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-12 Thread Sherif Ramadan
On Mon, Nov 12, 2012 at 9:50 AM, Anthony Ferrara wrote: > My standpoint would be not to add E_DEPRECATED notices in 5.5... It's > simply used too much to start loudly complaining about it. Instead, what I > would suggest is the following: > > 1. Officially deprecate it now. Right now, on the docs

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-12 Thread Christopher Jones
On 11/12/2012 05:00 AM, 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

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-12 Thread Rasmus Lerdorf
On 11/12/2012 07:24 AM, Leigh wrote: > Hi, > >> We put ext/mysql in a (security) bug fix maintenance mode only >> years ago. Too many ignore those attempts to get rid of ext/mysql. > > Maybe it's time to put it into full non-maintenance mode then? > > I believe MySQL is one of the on-by-default

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-12 Thread Kalle Sommer Nielsen
Hi 2012/11/12 Ferenc Kovacs > I agree to deprecate/remove on the long run, but I think that we should > wait for the next version for doing so. Wait for the next version? Sorry but thats years away, and where does that put us? No where in all honestly, if we don't do something actively against t

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-12 Thread Ferenc Kovacs
On Mon, Nov 12, 2012 at 4:00 PM, Ulf Wendel wrote: > Am 12.11.2012 15:48, schrieb Antony Dovgal: > > On 2012-11-12 18:15, Adam Harvey wrote: >> >>> I don't think the documentation is necessarily effective here, >>> particularly with functions that users tend to know by heart >>> >> >> >>> I'm n

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-12 Thread Derick Rethans
On Mon, 12 Nov 2012, Adam Harvey wrote: > 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

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-12 Thread jpauli
On Mon, Nov 12, 2012 at 4:57 PM, Arvids Godjuks wrote: > Hello all! > > Julien this weekend was at the conference in Riga and we talked with him > exactly about this, how it could be handled and stuff. > The bottom line of our discussion was that I expressed the opinion that > things should really

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-12 Thread Levi Morrison
On Mon, Nov 12, 2012 at 8:57 AM, Arvids Godjuks wrote: > Hello all! > > Julien this weekend was at the conference in Riga and we talked with him > exactly about this, how it could be handled and stuff. > The bottom line of our discussion was that I expressed the opinion that > things should really

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-12 Thread Arvids Godjuks
Hello all! Julien this weekend was at the conference in Riga and we talked with him exactly about this, how it could be handled and stuff. The bottom line of our discussion was that I expressed the opinion that things should really start to move as of 5.5 - postponing it will not make any differen

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-12 Thread Ralf Lang
Am 12.11.2012 15:41, schrieb Ulf Wendel: > Am 11.2012 14:00, schrieb Adam Harvey: >> 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

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-12 Thread Leigh
Hi, > We put ext/mysql in a (security) bug fix maintenance mode only > years ago. Too many ignore those attempts to get rid of ext/mysql. Maybe it's time to put it into full non-maintenance mode then? I believe MySQL is one of the on-by-default extensions when you compile PHP blindly (as I'm sur

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-12 Thread Pierre Joye
hi! On Mon, Nov 12, 2012 at 2:00 PM, Adam Harvey wrote: > 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 n

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-12 Thread Ulf Wendel
Am 12.11.2012 15:48, schrieb Antony Dovgal: On 2012-11-12 18:15, Adam Harvey wrote: I don't think the documentation is necessarily effective here, particularly with functions that users tend to know by heart I'm not really convinced the average user ever looks at the manual for things they kn

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-12 Thread Anthony Ferrara
My standpoint would be not to add E_DEPRECATED notices in 5.5... It's simply used too much to start loudly complaining about it. Instead, what I would suggest is the following: 1. Officially deprecate it now. Right now, on the docs it says "discouraged", but I would suggest changing that to offici

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-12 Thread Antony Dovgal
On 2012-11-12 18:15, Adam Harvey wrote: I don't think the documentation is necessarily effective here, particularly with functions that users tend to know by heart I'm not really convinced the average user ever looks at the manual for things they know, truth be told. Well, I'd expect people

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-12 Thread Ulf Wendel
Am 11.2012 14:00, schrieb Adam Harvey: 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, he

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-12 Thread Derick Rethans
On Mon, 12 Nov 2012, Johannes Schlüter wrote: > On Mon, 2012-11-12 at 21:00 +0800, Adam Harvey wrote: > > 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. It's my belief tha

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-12 Thread Hartmut Holzgraefe
On 11/12/2012 02:20 PM, Antony Dovgal wrote: > While I fully understand the reasons behind this, I still believe this > kind of thing should be done using the documentation only. following that argument we can deprecate E_DEPRECATED altogether, can't we? -1 -- hartmut -- PHP Internals - PHP

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-12 Thread Adam Harvey
On 12 November 2012 22:01, jpauli wrote: > Well, I think we can communicate, then educate people so that they > dont use ext/mysql any more. > It will take the time needed, but if we want this move to come up, we > need to start it. Doing nothing about it, things wont move. > > I like educating th

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-12 Thread Adam Harvey
On 12 November 2012 21:48, Johannes Schlüter wrote: > On Mon, 2012-11-12 at 21:00 +0800, Adam Harvey wrote: >> 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. It's my belief

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-12 Thread Adam Harvey
On 12 November 2012 21:20, Antony Dovgal wrote: > 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

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-12 Thread jpauli
On Mon, Nov 12, 2012 at 2:20 PM, Antony Dovgal wrote: > 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 purel

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-12 Thread Johannes Schlüter
On Mon, 2012-11-12 at 21:00 +0800, Adam Harvey wrote: > 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. It's my belief that doing so will Short comment: Those will mostly be u

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-12 Thread Antony Dovgal
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 g

[PHP-DEV] RFC: ext/mysql deprecation

2012-11-12 Thread Adam Harvey
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 rehas