Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77902 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21993 invoked from network); 12 Oct 2014 10:36:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Oct 2014 10:36:31 -0000 Authentication-Results: pb1.pair.com smtp.mail=zeev@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=zeev@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.220.174 as permitted sender) X-PHP-List-Original-Sender: zeev@zend.com X-Host-Fingerprint: 209.85.220.174 mail-vc0-f174.google.com Received: from [209.85.220.174] ([209.85.220.174:60444] helo=mail-vc0-f174.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 20/E3-01239-CA95A345 for ; Sun, 12 Oct 2014 06:36:29 -0400 Received: by mail-vc0-f174.google.com with SMTP id hq12so4573683vcb.5 for ; Sun, 12 Oct 2014 03:36:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:references:in-reply-to:mime-version :thread-index:date:message-id:subject:to:cc:content-type; bh=QkrkTVema20kvulkvC547tytGsmSIu1WtzQrTlTsszM=; b=H5eIE1uHw9oAXCl8o9+dus8dxZ3L/Om9VnCOv8fyR+FKQl6cI41MRrkf1sybIAPN9V GZSJsYd4v4Z+K8ilZyvEAdVHbnIbnouqsE+dDEaLE3/mVMCsVLfCFZ/E6tN4mB0SqU58 HYGBxQxY/bVtWym99bbOgORvVf+jhbY3BOjHZ8B+B/gcv4CbVw97kzY1NKLip24fIUNJ /ZdDwEZHt6HDQ/k46NHaw+JFdm8gwjGH6KrLIahgrqNIUvaqDTFB3aKicZKkGj87KW9O QPVjiIVH33xLrmrhmots95Mo5ipoaEHESNrU+ikP2xahCnJlWjcOSjJdV8cIdQZaIKPT mHCg== X-Gm-Message-State: ALoCoQka3jkKKBTBZdBBIU42+zLqAFRzKs9koSwLuUkJQb9CWcrtwDyl2z6pgJMER7eVAht69qI25RQxn5wy7459TICzw/hHQ1ptLo09Up/O2yuyTYX4WbjVBMpUKdmpPGZbp8PhYOVemMdlBbIxpFLf3ADhXJW8yg== X-Received: by 10.52.2.35 with SMTP id 3mr1560039vdr.40.1413110186263; Sun, 12 Oct 2014 03:36:26 -0700 (PDT) References: In-Reply-To: MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQJk6qDM44UZqXrjf/3atIAMZlfn9ANLorPnAKH+UTSa4s0ywA== Date: Sun, 12 Oct 2014 13:36:25 +0300 Message-ID: To: Nikita Popov , Derick Rethans Cc: PHP internals Content-Type: text/plain; charset=UTF-8 Subject: RE: [PHP-DEV] [RFC] Remove deprecated functionality in PHP 7 From: zeev@zend.com (Zeev Suraski) > -----Original Message----- > From: Nikita Popov [mailto:nikita.ppv@gmail.com] > Sent: Sunday, October 12, 2014 1:11 PM > To: Derick Rethans > Cc: PHP internals > Subject: Re: [PHP-DEV] [RFC] Remove deprecated functionality in PHP 7 > > On Sun, Oct 12, 2014 at 9:56 AM, Derick Rethans wrote: > > > On Sat, 11 Oct 2014, 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. > > > > I think there should be a little bit more voting "options" - or rather > > categories. > > > > For example, things like this: > > > > # style comments in ini files (since PHP 5.3) > > > > I don't think we should remove at all (or why is this even deprecated?! > > > > Because ini files use ; for comments and not #. For the record, I don't feel strongly about # comments, but I do think that we should have good reasons to actually *remove* features that are better than "this is how it's done". Valid reasons can be performance penalties of keeping the feature, security issues, or potential significant reduction in codebase complexity. I'm not sure whether # comments fall into any of these buckets, but sounds like they don't. Each and every feature we break makes it a bit more difficult to upgrade. The more difficult we make it - the more people are likely to stick with old insecure versions, or visit alternative options Zeev