Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64067 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 16383 invoked from network); 28 Nov 2012 09:30:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Nov 2012 09:30:07 -0000 Authentication-Results: pb1.pair.com smtp.mail=lester@lsces.co.uk; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=lester@lsces.co.uk; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lsces.co.uk from 213.123.20.128 cause and error) X-PHP-List-Original-Sender: lester@lsces.co.uk X-Host-Fingerprint: 213.123.20.128 c2bthomr10.btconnect.com Received: from [213.123.20.128] ([213.123.20.128:31805] helo=mail.btconnect.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AE/F2-22948-899D5B05 for ; Wed, 28 Nov 2012 04:30:03 -0500 Received: from host81-138-11-136.in-addr.btopenworld.com (EHLO _10.0.0.5_) ([81.138.11.136]) by c2bthomr10.btconnect.com with ESMTP id JZW36195; Wed, 28 Nov 2012 09:29:57 +0000 (GMT) Message-ID: <50B5D992.30609@lsces.co.uk> Date: Wed, 28 Nov 2012 09:29:54 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120826 Firefox/15.0 SeaMonkey/2.12 MIME-Version: 1.0 To: PHP internals References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mirapoint-IP-Reputation: reputation=Fair-1, source=Queried, refid=tid=0001.0A0B0303.50B5D993.003B, actions=tag X-Junkmail-Premium-Raw: score=7/50, refid=2.7.2:2012.11.28.85416:17:7.944, ip=81.138.11.136, rules=__MOZILLA_MSGID, __HAS_MSGID, __SANE_MSGID, __HAS_FROM, __USER_AGENT, __MOZILLA_USER_AGENT, __MIME_VERSION, __TO_MALFORMED_2, __BOUNCE_CHALLENGE_SUBJ, __BOUNCE_NDR_SUBJ_EXEMPT, __CT, __CT_TEXT_PLAIN, __CTE, __ANY_URI, __URI_NO_MAILTO, __URI_NO_WWW, __CP_URI_IN_BODY, BODY_ENDS_IN_URL, BODYTEXTP_SIZE_3000_LESS, BODY_SIZE_1800_1899, __MIME_TEXT_ONLY, RDNS_GENERIC_POOLED, HTML_00_01, HTML_00_10, BODY_SIZE_5000_LESS, RDNS_SUSP_GENERIC, RDNS_SUSP, BODY_SIZE_2000_LESS, BODY_SIZE_7000_LESS X-Junkmail-Status: score=10/50, host=c2bthomr10.btconnect.com X-Junkmail-Signature-Raw: score=unknown, refid=str=0001.0A0B0202.50B5D995.0139:SCFSTAT14830815,ss=1,re=-4.000,fgs=0, ip=0.0.0.0, so=2011-07-25 19:15:43, dmn=2011-05-27 18:58:46, mode=multiengine X-Junkmail-IWF: false Subject: Re: [PHP-DEV] Re: [VOTE] ext/mysql deprecation in 5.5 From: lester@lsces.co.uk (Lester Caine) Adam Harvey wrote: > Deprecation is a strong signal. It's a signal that it's time to update > tutorials. It's a signal to schedule upgrades for code when new > versions are written to use more modern APIs. It's a signal to those > of us who speak at conferences, and help people in various fora and > various ways that we should redouble our efforts to communicate the > benefits of MySQLi and/or PDO. Since I don't have karma to vote on line I need to raise my objections here. There is no 'objection' to deprecating the extension, but adding E_DEPRECATED to the code is problematic since that should NOT be present in a PECL version of the code? Adding it in one location and not the other does not make sense. ALL that is needed is that the 'extension' is more difficult to access than the preferred alternatives. When MySQL was dropped as 'automatically enabled' and people kept asking 'Where is it?' people accepted the reasoning. Doing the same thing now warning at the loading stage makes this much more practical, since having to disable E_DEPRECATED because of running legacy code and then loosing also the IMPORTANT deprecated warnings is just wrong! I'd almost make a case for moving the currently clean code to PECL now so we CAN load a clean version of mysql if we need to do that. It's bundling it with other deprecated code that is my problem :( Personally I'm only running MySQL to support legacy code, and if this goes ahead then it's another reason to stop upgrading from PHP5.4 ... -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk