Re: [PHP-DEV] deprecating ext/mysql

2011-07-18 Thread Julien Pauli
I agree with Johannes and Oracle/MySQL people : ext/mysqli must be the preferred way to replace ext/mysql. PDO lacks advanced features which wont be available because of PDO internals incompatibility. ext/mysqli is a true MySQL internal API exposure into PHP user land, PDO is not. Moreover, ext/m

Re: [PHP-DEV] deprecating ext/mysql

2011-07-15 Thread Philip Olson
Hola friends, Nice feedback so far, and the PHP documentation will begin implementing the ideas presented here, and focus on mysqli but also recommend pdo_mysql. Therefore, the ext/mysql documentation will be improved to strongly recommend the preferred alternatives that have existed since PHP

Re: [PHP-DEV] deprecating ext/mysql

2011-07-15 Thread Johannes Schlüter
On Fri, 2011-07-15 at 14:56 +0200, Reindl Harald wrote: > Am 15.07.2011 14:46, schrieb Johannes Schlüter: > > > ext/mysql was built for MySQL 3.23 and only got very few additions since > > then while mostly keeping compatibility with this old version which > > makes the code a bit harder to mainta

Re: [PHP-DEV] deprecating ext/mysql

2011-07-15 Thread Ulf Wendel
Am 15.07.2011 14:56, schrieb Reindl Harald: client_flags and MYSQL_CLIENT_COMPRESS exists sine nearly 10 years this is a feature which currently sucks with mysqlnd because it is not supported this time Not true. Compressed Protocol Support As of PHP 5.3.2 MySQL Native Driver supports the com

Re: [PHP-DEV] deprecating ext/mysql

2011-07-15 Thread Reindl Harald
Am 15.07.2011 14:46, schrieb Johannes Schlüter: > ext/mysql was built for MySQL 3.23 and only got very few additions since > then while mostly keeping compatibility with this old version which > makes the code a bit harder to maintain. From top of my head missing > features not support be ext/mys

Re: [PHP-DEV] deprecating ext/mysql

2011-07-15 Thread Johannes Schlüter
Hi, On Sun, 2011-07-10 at 10:03 -0700, Philip Olson wrote: > Greetings PHP geeks, > > Don't panic! This is not a proposal to add errors or remove this > popular extension. Not yet anyway, because it's too popular to do that > now. > > The documentation team is discussing the database security si

Re: [PHP-DEV] deprecating ext/mysql

2011-07-14 Thread Larry Garfield
On 07/10/2011 12:03 PM, Philip Olson wrote: Greetings PHP geeks, Don't panic! This is not a proposal to add errors or remove this popular extension. Not yet anyway, because it's too popular to do that now. The documentation team is discussing the database security situation, and educating use

RE: [PHP-DEV] deprecating ext/mysql

2011-07-11 Thread Mike Robinson
On July-11-11 Matthew Weier O'Phinney wrote: > Sent: July-11-11 1:57 PM > To: internals@lists.php.net > Subject: Re: [PHP-DEV] deprecating ext/mysql > > On 2011-07-11, Paul Dragoonis > > > > Yes, +1 from me too. I do indeed think we need to make this a smooth &g

Re: [PHP-DEV] deprecating ext/mysql

2011-07-11 Thread Matthew Weier O'Phinney
On 2011-07-11, Paul Dragoonis wrote: > On Mon, Jul 11, 2011 at 4:41 PM, Christopher Jones > wrote: > > On 7/10/11 10:03 AM, Philip Olson wrote: > > > What this means to ext/mysql: > > > > > >  - Softly deprecate ext/mysql with education (docs) starting today > > >  - Not adding E_DEPRECATED error

Re: [PHP-DEV] deprecating ext/mysql

2011-07-11 Thread Paul Dragoonis
On Mon, Jul 11, 2011 at 4:41 PM, Christopher Jones wrote: > > > On 7/10/11 10:03 AM, Philip Olson wrote: > >> What this means to ext/mysql: >> >>  - Softly deprecate ext/mysql with education (docs) starting today >>  - Not adding E_DEPRECATED errors in 5.4, but revisit for 5.5/6.0 >>  - Add pdo_my

Re: [PHP-DEV] deprecating ext/mysql

2011-07-11 Thread Christopher Jones
On 7/10/11 10:03 AM, Philip Olson wrote: What this means to ext/mysql: - Softly deprecate ext/mysql with education (docs) starting today - Not adding E_DEPRECATED errors in 5.4, but revisit for 5.5/6.0 - Add pdo_mysql examples within the ext/mysql docs that mimic the current example

Re: [PHP-DEV] deprecating ext/mysql

2011-07-11 Thread Keloran
maybe we should get another E_, E_NEARLY_DEPRECATED that way we can set this to that, and then 5.5 we can move it to E_DEPRECATED, that way people have to go read the docs, the amount of people even those who have been in the field for years, that dont know about php.net/ and still look stuff up on

Re: [PHP-DEV] deprecating ext/mysql

2011-07-11 Thread Adam Harvey
On 11 July 2011 01:03, Philip Olson wrote: > What this means to ext/mysql: > >  - Softly deprecate ext/mysql with education (docs) starting today >  - Not adding E_DEPRECATED errors in 5.4, but revisit for 5.5/6.0 >  - Add pdo_mysql examples within the ext/mysql docs that mimic the current >   exa

Re: [PHP-DEV] deprecating ext/mysql

2011-07-10 Thread Pierre Joye
hi, As I would love to kill ext/mysql, it is up to the mysql developers to decide. Cheers, On Sun, Jul 10, 2011 at 7:03 PM, Philip Olson wrote: > Greetings PHP geeks, > > Don't panic! This is not a proposal to add errors or remove this popular > extension. Not yet anyway, because it's too popu

RE: [PHP-DEV] deprecating ext/mysql

2011-07-10 Thread Mike Robinson
On July-10-11 1:16 PM Reindl Harald wrote: > Am 10.07.2011 19:03, schrieb Philip Olson: > > What this means to ext/mysql: > > > > - Softly deprecate ext/mysql with education (docs) starting today > > - Not adding E_DEPRECATED errors in 5.4, but revisit for 5.5/6.0 > > - Add pdo_mysql examples withi

Re: [PHP-DEV] deprecating ext/mysql

2011-07-10 Thread Reindl Harald
Am 10.07.2011 19:03, schrieb Philip Olson: > What this means to ext/mysql: > > - Softly deprecate ext/mysql with education (docs) starting today > - Not adding E_DEPRECATED errors in 5.4, but revisit for 5.5/6.0 > - Add pdo_mysql examples within the ext/mysql docs that mimic the current >