Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:53880 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8950 invoked from network); 11 Jul 2011 16:31:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Jul 2011 16:31:07 -0000 Authentication-Results: pb1.pair.com smtp.mail=dragoonis@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=dragoonis@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.210.170 as permitted sender) X-PHP-List-Original-Sender: dragoonis@gmail.com X-Host-Fingerprint: 209.85.210.170 mail-iy0-f170.google.com Received: from [209.85.210.170] ([209.85.210.170:52185] helo=mail-iy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CF/71-30857-7452B1E4 for ; Mon, 11 Jul 2011 12:31:05 -0400 Received: by iym1 with SMTP id 1so4246789iym.29 for ; Mon, 11 Jul 2011 09:30:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=TO4OVxhyEN+ZsZb4wcnBmVVgcbe/qEzfm/e+oG/YjVY=; b=CzcIXY5nnXzU/MnBD28eUI+Zuquhle6nGwf9N9GNbrN4DnRe62EO/k/lUIaeDrZT9+ PwcaTOSAiYnK7VIJdvnJrTp3OJkvrzlskkE2J7Yl1W30fAXbInaS4wODgZwGLf/DHYYK YCmjwzW63DPg50Sm9Ej71ZLi+qOqqFyEHokXg= MIME-Version: 1.0 Received: by 10.42.132.194 with SMTP id e2mr5873004ict.291.1310401859428; Mon, 11 Jul 2011 09:30:59 -0700 (PDT) Received: by 10.42.169.5 with HTTP; Mon, 11 Jul 2011 09:30:59 -0700 (PDT) In-Reply-To: <4E1B19B7.60703@oracle.com> References: <9F1FA580-FD3F-4C3F-9E26-51A095CF6EE9@roshambo.org> <4E1B19B7.60703@oracle.com> Date: Mon, 11 Jul 2011 17:30:59 +0100 Message-ID: To: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] deprecating ext/mysql From: dragoonis@gmail.com (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: >> >> =A0- Softly deprecate ext/mysql with education (docs) starting today >> =A0- Not adding E_DEPRECATED errors in 5.4, but revisit for 5.5/6.0 >> =A0- Add pdo_mysql examples within the ext/mysql docs that mimic the cur= rent >> =A0 =A0examples, but occasionally introduce features like prepared state= ments >> =A0- Focus energy on cleaning up the pdo_mysql and mysqli documentation >> =A0- Create a general "The MySQL situation" document that explains the >> situation > > +1, though check with the MySQL folk about whether they want mysqli or > pdo_mysql to > be the recommended path. > > Chris Yes, +1 from me too. I do indeed think we need to make this a smooth transition over time. Possibly triggering an E_DEPRECATED for all ext/mysql usage. Just like the introduction of E_DEPRECATED for 5.3 functions, we could apply the same approach here. After 5.4 is released we can put big "Deprecated Warning" notifications on all php.net/mysql_* functions too. I think we all want this, but to be realistic from a production point of view, many sites will still be using ext/mysql. Regards, Paul Dragoonis. > > -- > Email: christopher.jones@oracle.com > Tel: =A0+1 650 506 8630 > Blog: =A0http://blogs.oracle.com/opal/ > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >