Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79957 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93448 invoked from network); 26 Dec 2014 10:22:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Dec 2014 10:22:14 -0000 Authentication-Results: pb1.pair.com smtp.mail=inefedor@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=inefedor@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.174 as permitted sender) X-PHP-List-Original-Sender: inefedor@gmail.com X-Host-Fingerprint: 209.85.217.174 mail-lb0-f174.google.com Received: from [209.85.217.174] ([209.85.217.174:44440] helo=mail-lb0-f174.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 68/60-23336-4D63D945 for ; Fri, 26 Dec 2014 05:22:13 -0500 Received: by mail-lb0-f174.google.com with SMTP id 10so8423787lbg.19 for ; Fri, 26 Dec 2014 02:22:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:to:cc:subject:references:date:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; bh=6t1ZpGMEZfBbJ/75voadW7tAqo+JVN0KhUrHmZ2fY4U=; b=cl05aXS3iRGblsVYOBs/jXJAlZZArQWMaDOuUWeZUZnJ1iNQ8Ph93GcaV9Ie/0Yo0i hL3OBpVS9uPMLHo6m7qhhp8GrbtBMNtLaMysm2hk0hcL9X3ycgkUCJcx5aJedrGYwqHr JDLT5edU1MJanVPYch72QUKZuZDItCJ5Iq74+LL5e2yFQN7XtemHG34S0FGiIqgj5/ni vhhpsB9TUO3oDlElwljJ+jiJNX/ZWPNoDMVtQzoCUplOS8/dQmmdZQzel0pOtWq+11AA A2LiSA2J3EL3sBMggRh8X9oVwcUF/IDji2q7J3eZoCVrQgzWFCEv498ASFSAySGWJtpP bf3A== X-Received: by 10.112.126.165 with SMTP id mz5mr20101769lbb.67.1419589329493; Fri, 26 Dec 2014 02:22:09 -0800 (PST) Received: from nikita-hp.seopult.ru (broadband-37-110-139-150.nationalcablenetworks.ru. [37.110.139.150]) by mx.google.com with ESMTPSA id 1sm4144082lal.20.2014.12.26.02.22.07 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 26 Dec 2014 02:22:08 -0800 (PST) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "Pierre Joye" , "Xinchen Hui" Cc: "Nikita Popov" , "PHP internals" References: Date: Fri, 26 Dec 2014 13:21:47 +0300 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: User-Agent: Opera Mail/12.16 (Linux) Subject: Re: [PHP-DEV] Re: [RFC] Remove deprecated functionality in PHP 7 From: inefedor@gmail.com ("Niktia Nefedov") On Sun, 21 Dec 2014 06:49:49 +0300, Xinchen Hui wrote: > Hey: > > On Sun, Dec 21, 2014 at 11:43 AM, Pierre Joye > wrote: >> >> On Dec 21, 2014 10:23 AM, "Xinchen Hui" wrote: >>> >>> Hey: >>> >> >>> I am strongly against to remove ext/mysql >>> >>> that means, all wordpress users/maintainers, will not able to upgrade >>> to PHP7 without pain. >> >> https://make.wordpress.org/core/2014/04/07/mysql-in-wordpress-3-9/ >> >> Basically wp and mysql are wrong arguments. > we have upgrade issues, they also have that.. > > I know lots of sites are based on old version wordpress, and they did > lot's of custom developing on it.. > > they will not able to upgrade to any new wordpress.. > >> >> Also last time we discussed that there were a couple of oppositions to >> remove deprecated features in 7. > yes.. >> >> My take is that we should not have a mass vote but options for each >> feature. >> Also if we do not remove deprecated features we may as a well remove the >> deprecation as it makes no sense to keep it if we never actually remove >> the >> affected features. > I agree.. > > for ext/mysql, I think it's okey to remove the deprecated warning.. > > thanks >> >> Cheers, >> Pierre > > > Hey Xinchen, Couldn't we just write a compatibility layer, like Anthony did for password_hash? (but in the opposite direction, for people who are stuck with ext/mysql and want to upgrade to 7) There'll be one problem with mysqli being an object and not a resource, but I'm sure would be able to solve it.