Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77912 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86908 invoked from network); 13 Oct 2014 10:29:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Oct 2014 10:29:11 -0000 Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.220.182 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 209.85.220.182 mail-vc0-f182.google.com Received: from [209.85.220.182] ([209.85.220.182:61460] helo=mail-vc0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C9/02-06457-679AB345 for ; Mon, 13 Oct 2014 06:29:10 -0400 Received: by mail-vc0-f182.google.com with SMTP id la4so5462617vcb.41 for ; Mon, 13 Oct 2014 03:29:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=Xx+pIlbxumU2Uff9VfKTYN/hRZlR8OY1fcJnm66iqP0=; b=aWLyxN1SJVqGPgEwAYKfv0kBm+9ThdiYB43YqKzeiTydJEt4eZ5W4eRknu9MtKW2BK J2R4w4X6NeMoZa41wKiOVfhtrAM4k5ukBrfkZCcP31h+KzMKcUxJm1IXq9Yddw7AFpXU A160W8WfttkQS7e8HHK7StkCP8VDK2UM6RFSZgdBUxyLBvArBgXh0EMGFM/9uR5u5wZx jXnbcYEOtnLYxQQB4gL2ULhi3b/4nnVD3kF3KGKrqpojfx3+/Na6mXipG5mb1r0Y6wqp TKeNxUCnUMd5RDq0si7SiitI3owme7p+zBWKCmhRNsRo5hBxMAQ9cZX+G0pZPj1oJfzP lr3Q== X-Gm-Message-State: ALoCoQkDXjQlt6L50YJhrswLStgEcT926sxPgxqxBhLrzjouvYuYk/xHWWqIFmZEvCERkAavBLOIefiF6b9D+FQ0tpb0LZMwCRRKjhKya1fEJ9nkqHHJ3j2jKa3SlF0tiNaLOXp46dM8SWiTaY4UetD4j7buw4XFGg== MIME-Version: 1.0 X-Received: by 10.220.88.82 with SMTP id z18mr19120848vcl.5.1413196146962; Mon, 13 Oct 2014 03:29:06 -0700 (PDT) Received: by 10.52.4.41 with HTTP; Mon, 13 Oct 2014 03:29:06 -0700 (PDT) In-Reply-To: <3832FC29-CE4E-49C8-B9F1-3797F019D9F8@lerdorf.com> References: <3832FC29-CE4E-49C8-B9F1-3797F019D9F8@lerdorf.com> Date: Mon, 13 Oct 2014 14:29:06 +0400 Message-ID: To: Rasmus Lerdorf Cc: Kris Craig , Nikita Popov , PHP internals list Content-Type: multipart/alternative; boundary=047d7b3441805687b005054b5ebc Subject: Re: [PHP-DEV] [RFC] Remove deprecated functionality in PHP 7 From: dmitry@zend.com (Dmitry Stogov) --047d7b3441805687b005054b5ebc Content-Type: text/plain; charset=UTF-8 Note, that once we move extension outside of main source tree, only extension maintainers (if any) will support them. According to the voting process, I think it makes sense to vote for each feature separately. Thanks. Dmitry. On Sun, Oct 12, 2014 at 4:13 AM, Rasmus Lerdorf wrote: > > On Oct 11, 2014, at 16:47, Kris Craig wrote: > > > >> On Oct 11, 2014 1:52 PM, "Nikita Popov" wrote: > >> > >> Hi internals! > >> > >> We currently have a number of deprecated features, which we likely want > to > >> remove in PHP 7. I've created a tracking RFC listing deprecated > >> functionality (if I missed something, please tell): > >> > >> https://wiki.php.net/rfc/remove_deprecated_functionality_in_php7 > >> > >> 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. > >> > >> Unless there are items that are particularly contested, I'd like to > handle > >> 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. > >> > >> Thanks, > >> Nikita > > > > +1 on all of that. > > > > As far as ext/mysql is concerned, I would eagerly vote in favor of > removing > > it. It performs poorly, is procedural, less secure, doesn't support > > prepared statements, etc. > > > > 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 > time > > to pull the plug on it. > > Keep in mind though that it would be mostly symbolic. The majority of > users get their PHP and extensions from distros. And distros have been > separating out core-bundled extensions for a decade now. Users have > absolutely no idea whether their php-mysql package comes from core or from > pecl, nor do they care. So, unbundling it on our side will have close to > zero impact on its use. In 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 it 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 itself deprecated. > > I am not against unbundling it, I just don't think it will achieve what > you hope it will. > > -Rasmus > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --047d7b3441805687b005054b5ebc--