Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71230 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76724 invoked from network); 18 Jan 2014 02:42:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Jan 2014 02:42:55 -0000 Authentication-Results: pb1.pair.com header.from=julienpauli@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=julienpauli@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.169 as permitted sender) X-PHP-List-Original-Sender: julienpauli@gmail.com X-Host-Fingerprint: 209.85.214.169 mail-ob0-f169.google.com Received: from [209.85.214.169] ([209.85.214.169:64744] helo=mail-ob0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E1/10-10526-D2AE9D25 for ; Fri, 17 Jan 2014 21:42:54 -0500 Received: by mail-ob0-f169.google.com with SMTP id wo20so852531obc.14 for ; Fri, 17 Jan 2014 18:42:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=SUymJkT7b0R+Xsbb3qkIWCp0XA1vmlhzw8D/mUIOFRw=; b=K2C8iIvu9g6qd62c6PNW0FShWZQbMf02+Hw4kJJV/nkQ2P25S9v1dhzF+OCQp34EIC SgcurYse+OLLh7/7dmeZwwI2uHIFPmy12dIUCqnizpkjtjKn2mfYI6ZyFVZewrKjyV+4 pvAw1nTitH0DyEnAdykqzEfeX3IEHpcKBQwOIgAmIMi1QphzLGFf64VnfErczL78HzrW wsMx/qjablKo37Y7fO5Ch5uaoHTDOP6Lp09uGCtgJQLiKYaTlb39zrgZt7cideZ8lzY6 So5OKBR8kfVDVgenqHuDNFXNmYpwsW/JiyndbKaiaTR7WRxoSEBtjnVpFmyln+QO9v/m X6hg== X-Received: by 10.60.119.70 with SMTP id ks6mr4507214oeb.45.1390012971069; Fri, 17 Jan 2014 18:42:51 -0800 (PST) MIME-Version: 1.0 Sender: julienpauli@gmail.com Received: by 10.182.235.46 with HTTP; Fri, 17 Jan 2014 18:42:10 -0800 (PST) In-Reply-To: References: Date: Sat, 18 Jan 2014 03:42:10 +0100 X-Google-Sender-Auth: IPZrhbyAbFjQSgl7k-J6pdxlVeE Message-ID: To: Sherif Ramadan Cc: Arvids Godjuks , PHP internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] 5.5 to 5.6 cleanup From: jpauli@php.net (Julien Pauli) On Sat, Jan 18, 2014 at 2:55 AM, Sherif Ramadan wrote: > On Fri, Jan 17, 2014 at 8:35 PM, Arvids Godjuks wrote: > >> >> As it was mentioned, it was not decided that mysql ext should be completly >> removed at 5.6, my personal opinion is that it should be pushed po PECL at >> this release with all the bells and whistells warning everyone that >> extension is depricated and will be removed soon (read: next release - be >> it 5.7 or 6.0). > > > The plan was always to move ext/mysql to PECL. We've never removed an > entire extension from the source completely without it going to PECL (as in > the case of SQLite). For sure, we don't delete code from our codebase. We don't drop ext/mysql code , we clearly move it to PECL, yes. > Which is why the decision was made to first update the > documentation warning people that ext/mysql would soon be deprecated. Later > the decision was made to start issuing E_DEPRECATED errors in PHP 5.5, as > per the aforementioned RFC that was accepted. This has all been done > already. The next step is to remove ext/mysql from PHP core and place into > PECL. The various linux distributions will likely still package it > separately as they already do with other various PHP extensions. So this > will not likely affect those who rely on using their distribution's package > manager to install PHP extensions. However, that is not to say that we > should spring things upon users suddenly and without taking the necessary > steps to ensure a smoother transition. For me that's clear. - We added E_DEPRECATED at runtime - We updated docs to reflect that We'll still provide the code to a PECL ext, and linux distros will package it, so no pain for anyone wanting to use ext/mysql once it's moved to PECL. > > >> I belive that leaving everything as is right now will be >> sending a message that projects like Wordpress can halt the progress of the >> language development and block the decisions like removal of the mysql ext. >> >> > I agree that we should not be waiting on Wordpress to update their code in > order to make the decision of removing ext/mysql. In fact, in our previous > discussion back in 2012, Wordpress claims they were the ones waiting on us > before they updated their code http://news.php.net/php.internals/63929 > > We've given fair warning that the extension will be removed soon. I'm just > saying that the decisions to remove it was never finalized to 5.6. We've > ramped-up our release cycles and we've gone from 5.4 to 5.5 to 5.6 in less > than 2 years now. Yes, we don't have to wait for anybody to take actions. We should be driving projects using PHP, not the opposite (which doesn't mean we should not listen to everybody and take selfish decisions). If we go to remove it in 5.6, anyway, we all know there will be a huge time before 5.6 enters to production, years... Also, nobody can miss the deprecation, as nobody jumps over versions while migrating (e.g, moving directly from 5.4 to 5.6). Perhaps is it time to clarify our deprecation process into an RFC we all agree with ? This RFC could describe a clear deprecation process, from INI settings deprecation, classes/functions etc... to entire extensions. As soon as it's clear to everybody and accepted, RMs can do their job blindly following the RFC. Julien.P