Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63803 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9997 invoked from network); 12 Nov 2012 13:00:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Nov 2012 13:00:43 -0000 Authentication-Results: pb1.pair.com header.from=adam@adamharvey.name; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=adam@adamharvey.name; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain adamharvey.name designates 209.85.214.170 as permitted sender) X-PHP-List-Original-Sender: adam@adamharvey.name X-Host-Fingerprint: 209.85.214.170 mail-ob0-f170.google.com Received: from [209.85.214.170] ([209.85.214.170:60631] helo=mail-ob0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4E/60-05794-9F2F0A05 for ; Mon, 12 Nov 2012 08:00:42 -0500 Received: by mail-ob0-f170.google.com with SMTP id wp18so4747745obc.29 for ; Mon, 12 Nov 2012 05:00:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adamharvey.name; s=google; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; bh=aGDVyNEb67OBv7E5GOkvA59AP+80UnKgE5bQ6HqQ6sQ=; b=2AQ1biw4eqSAQuowVG/1qQte2MpVSQXLN+/ryDZIVtmXVa9Fvrdnj8UfNy9JHpfEc5 1j90fPi/WTK57u4d4CrO8yVT3wMvgUUYwRiONauYXHSsnPjwpbrc5Jje4p2cZGyTdNWA hqB/eA0lw+OpoY/rPkOUpk06uMOmrlKOPUbKo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type:x-gm-message-state; bh=aGDVyNEb67OBv7E5GOkvA59AP+80UnKgE5bQ6HqQ6sQ=; b=Z+9S0fcoz73tvC93dSmikle25wBp6fsCvKNeHks9t2cadITl5NycAJR7Bv0LNlZ2hW tex9S9fEt++i+pc/9cc5RJeUqGdokEK62/SKBMzmWKX0CC/Uz03xrO7mkPrn45YUILff xJ2FYXNBD7W5JSnj1J7CoMGPegS6gJZx5gtmkDHcupQbqq6nccOFM83vnMXfdBCEtTkh OCfUHGT2ziDBYXJM0IOdzsAikrCtiYPleSc/t0yhVUJPqexp4ENNrYQN5J9TbXV+pauQ EFZdpOTPHu/aMcm76YG7MulLFD+swO5xKet3eCUPRkZrTHQjWTNR7p1xfKR8MjpDu4bT 8xtw== Received: by 10.60.28.234 with SMTP id e10mr14704045oeh.67.1352725238789; Mon, 12 Nov 2012 05:00:38 -0800 (PST) MIME-Version: 1.0 Sender: adam@adamharvey.name Received: by 10.76.123.75 with HTTP; Mon, 12 Nov 2012 05:00:18 -0800 (PST) Date: Mon, 12 Nov 2012 21:00:18 +0800 X-Google-Sender-Auth: gtGOqMHfzH5jVfkPT1te7M0lrcU Message-ID: To: PHP internals Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQkrqwFMQf8r4vZyLmQkDnHJnRuE9OnTCv/JLX94xpSIn3KTl1+YX1Mc2T2MpUMA/l+ogH87 Subject: RFC: ext/mysql deprecation From: aharvey@php.net (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 rehash the background overly (there's some more detail in the RFC), other than to note that we've now had deprecation notices on all mysql_* functions in the manual for about six months and that the 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 hasten the move of users to the more modern (and supported) APIs available: mysqli and PDO, and that this process will also likely encourage some users to switch to safer patterns such as prepared queries at the same time. I must apologise for the lateness of this RFC: I had hoped to do this some time before alpha 1, but travel and illness have taken their toll. Better late than never! So, please provide comments, feedback, concerns, and so on. Obviously, this isn't going to a vote for at least a couple of weeks, but earlier feedback is better. Thanks, Adam