Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77886 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79379 invoked from network); 12 Oct 2014 00:13:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Oct 2014 00:13:26 -0000 Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 209.85.220.45 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 209.85.220.45 mail-pa0-f45.google.com Received: from [209.85.220.45] ([209.85.220.45:58365] helo=mail-pa0-f45.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 09/84-43359-4A7C9345 for ; Sat, 11 Oct 2014 20:13:25 -0400 Received: by mail-pa0-f45.google.com with SMTP id rd3so3791804pab.4 for ; Sat, 11 Oct 2014 17:13:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=FmhyobLAW21uUYOOSZkCMZktEJ1PhbMH1msC/4Tcapk=; b=bNcULvfNOVeCuueldmTEtgcL/d1gEz8pn27iyudoUuksnsnPu++GEjOraY4gPVFQgy gQ1K1G+BQoy7olEaK4bkZer1lK+8kIgBdkS3UF9lKkyQVOGrL1e/nC0VX/ohLBNoaENB S7XMR8K13mYiLxrBByVtNKppj9ytbDH5x9x84cw9D7OIW3w1BJ4bZJj5JMGxJBFLjFch 0I+bCDUQEwZtDKkpQjUIdc+02OFQxp4nscHmE55LMtVtiJo45lY6w8wbPt9XGlaySyc6 RKiVOWNv7iRfkkAhbgDgMb57+5RAVvFqyLDEV31SNkB9pzuMJICuZ/rEOBWg3IzWN7dH 2Y2A== X-Gm-Message-State: ALoCoQkBGZFREJ4onB9A6v5s+0dPZd5U7i2iFdlzCDU3CYQP8N+dXlFwC6ixjRmL0qxzKYonXdyZ X-Received: by 10.68.244.66 with SMTP id xe2mr14473137pbc.33.1413072802180; Sat, 11 Oct 2014 17:13:22 -0700 (PDT) Received: from [192.168.200.50] (c-50-131-44-225.hsd1.ca.comcast.net. [50.131.44.225]) by mx.google.com with ESMTPSA id yk3sm6627453pbb.60.2014.10.11.17.13.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 11 Oct 2014 17:13:21 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) X-Mailer: iPad Mail (12A405) In-Reply-To: Date: Sat, 11 Oct 2014 17:13:20 -0700 Cc: Nikita Popov , PHP internals list Content-Transfer-Encoding: quoted-printable Message-ID: <3832FC29-CE4E-49C8-B9F1-3797F019D9F8@lerdorf.com> References: To: Kris Craig Subject: Re: [PHP-DEV] [RFC] Remove deprecated functionality in PHP 7 From: rasmus@lerdorf.com (Rasmus Lerdorf) > On Oct 11, 2014, at 16:47, Kris Craig wrote: >=20 >> On Oct 11, 2014 1:52 PM, "Nikita Popov" wrote: >>=20 >> Hi internals! >>=20 >> We currently have a number of deprecated features, which we likely want t= o >> remove in PHP 7. I've created a tracking RFC listing deprecated >> functionality (if I missed something, please tell): >>=20 >> https://wiki.php.net/rfc/remove_deprecated_functionality_in_php7 >>=20 >> I expect many of these are no-brainers (like assigning new by-reference),= >> but other items like removal of ext/mysql may need additional > consideration. >>=20 >> Unless there are items that are particularly contested, I'd like to handl= e >> the bulk of these in a single vote and only have separate votes for >> ext/ereg and ext/mysql, as these are arguably more intrusive. >>=20 >> Thanks, >> Nikita >=20 > +1 on all of that. >=20 > As far as ext/mysql is concerned, I would eagerly vote in favor of removin= g > it. It performs poorly, is procedural, less secure, doesn't support > prepared statements, etc. >=20 > It's always annoyed me how sites like w3schools still teach people to use > ext/mysql. It's been deprecated for quite awhile now and I think it's tim= e > to pull the plug on it. Keep in mind though that it would be mostly symbolic. The majority of users g= et their PHP and extensions from distros. And distros have been separating o= ut core-bundled extensions for a decade now. Users have absolutely no idea w= hether their php-mysql package comes from core or from pecl, nor do they car= e. So, unbundling it on our side will have close to zero impact on its use. I= n fact, in a weird way it might actually help make people continue to use it= because if we unbundle it and stick it in pecl we would obviously not have i= t spew out 'deprecated' notices like we do as of 5.5. I mean, we still could= , of course, but it would be weird having a non-core pecl extension declare i= tself deprecated.=20 I am not against unbundling it, I just don't think it will achieve what you h= ope it will. -Rasmus=