Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80830 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95438 invoked from network); 19 Jan 2015 15:28:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Jan 2015 15:28:58 -0000 Authentication-Results: pb1.pair.com smtp.mail=narf@devilix.net; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=narf@devilix.net; sender-id=pass Received-SPF: pass (pb1.pair.com: domain devilix.net designates 209.85.214.179 as permitted sender) X-PHP-List-Original-Sender: narf@devilix.net X-Host-Fingerprint: 209.85.214.179 mail-ob0-f179.google.com Received: from [209.85.214.179] ([209.85.214.179:60957] helo=mail-ob0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3C/F9-64889-9B22DB45 for ; Mon, 19 Jan 2015 10:28:58 -0500 Received: by mail-ob0-f179.google.com with SMTP id vb8so3041004obc.10 for ; Mon, 19 Jan 2015 07:28:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=devilix.net; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=lNqymaN8hdWErHWiAKusgOjz2JY8hiKBCV9918m7D4o=; b=f0R1eRZdWkPMXcTTA1T5Dlt4GjrMnM+JDGywPU7b5rntMGYSlGTRogXPiobEekOvUU fmUkw/zpSB8PbrrJU1fy4mK2ZPm2xTDDYDvCwOZRbBZBDnV4THDMpAABmcA1wVTrnwpE R9eOrYcpWRrLpbgkMvjrK+5vXElb+B11jUkTk= 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=lNqymaN8hdWErHWiAKusgOjz2JY8hiKBCV9918m7D4o=; b=Be751SZ9VncPWKXdsC71LJSx3QecIPy2ak8Rzn+216ssuTBY9kW0aZv4TBVlqXUupc VRR+zqxf3yfZZXEYEiALI6MSzhfH1Of9Kcpl3CdKAC388O18EcuDCxdvd/DqMqjTN4F9 7Odkz4zlicy+6moJT8I42Ifq3DQBzLbQ50KOHgOzzUIwWM7G8TUxVi+Kf6gZKxb7oudP a+Yy6DRPFkhQ8v9RsvJU18svqQnpyNyhG60K2QHgEi1AhlQ3h/uX4VIv3YIfz8aA0t7/ 7fskCxW0wRofsM3B+OQ42vA8cCiFj1/nYo75gs7DD9moK13nv1BZlGtWRxzhLE/koYNn 15+w== X-Gm-Message-State: ALoCoQlaQBUmWpNITZIiBM5TDy0YzkB1Ce792BKWG2s0QKhgABuvjzizV5EJo0oFnUEdsP0CO/dn MIME-Version: 1.0 X-Received: by 10.183.3.36 with SMTP id bt4mr18618136obd.44.1421681334979; Mon, 19 Jan 2015 07:28:54 -0800 (PST) Received: by 10.202.196.209 with HTTP; Mon, 19 Jan 2015 07:28:54 -0800 (PST) In-Reply-To: <97.D7.64889.15C1DB45@pb1.pair.com> References: <0DD30A0D-E7CA-4150-83E0-8FD46635279C@ajf.me> <8761c6280g.fsf@margaine.com> <54B91D16.70901@gmail.com> <78.22.47555.7C24AB45@pb1.pair.com> <1421519637.40188.1.camel@proposaltech.com> <54BABA93.9070809@gmail.com> <49.CA.64889.A5EDCB45@pb1.pair.com> <54BCE8F5.5080407@gmail.com> <97.D7.64889.15C1DB45@pb1.pair.com> Date: Mon, 19 Jan 2015 17:28:54 +0200 Message-ID: To: Tony Marston Cc: "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC] Remove PHP 4 Constructors From: narf@devilix.net (Andrey Andreev) Hi, On Mon, Jan 19, 2015 at 5:01 PM, Tony Marston wrote: >>> But the only benefits with the removal of old features is a smaller code >>> base for the core developers. The only "benefit" which is experienced in >>> userland is that applications which have run for over a decade suddenly stop >>> working. >>> >> >> Ah, so you admit there may be benefits? Again, I do not say that those >> benefits are definitely enough to justify the change in this case, but they >> are real, and I would like you to stop dismissing them. > > > There is a big difference if a BC break which causes a minor benefit to the > core developers also causes a major headache to the millions of developers > who are the customers, the people who use the language to develop > applications. The aim should be to eliminate customer grievances as much as > possible and not to simply ignore them. > You continue doing exactly what you were asked not to. It's not just a "minor benefit to the core developers". It's an extremely unpopular feature that often leads to debugging nightmares even for users with enough experience to take on senior development roles. PHP 4 style coding is just unknown to the majority of users today and most people assume that it is no longer supported (or rather, that it was never supported, because they don't even know it existed). You're obviously an exception to that, and you might argue that somebody's lack of knowledge isn't an excuse to break all of your code, but please stop arguing that a handful of core PHP developers decided to drop a feature for their own benefit alone. That is simply not true. Also, I haven't seen PHP4 style constructors used in years and you're making it sound like every PHP application on the internet uses them - very far from it. That being said, it is still a major BC issue and unfortunately we're not going to have PHP 5.7 where it could've been deprecated, so I guess being stuck with this feature (but deprecated) in PHP7 might be the wiser choice. Cheers, Andrey.