Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68266 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59328 invoked from network); 20 Jul 2013 09:31:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Jul 2013 09:31:14 -0000 Authentication-Results: pb1.pair.com header.from=arraypad@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=arraypad@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.44 as permitted sender) X-PHP-List-Original-Sender: arraypad@gmail.com X-Host-Fingerprint: 209.85.215.44 mail-la0-f44.google.com Received: from [209.85.215.44] ([209.85.215.44:35997] helo=mail-la0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6A/E2-13120-0E85AE15 for ; Sat, 20 Jul 2013 05:31:13 -0400 Received: by mail-la0-f44.google.com with SMTP id er20so4073894lab.17 for ; Sat, 20 Jul 2013 02:31:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=5InMQYeoBPFY6V/1Wk1iSyprPv57gwQg0YbHZ5DyTGY=; b=uJoe+xnApbAPOlpidfpye3o1o0NBUhnHhT+KOek/L8DBC8ibCwtjltV4I0c5hsWFk6 kqIzZ+gdvELPSF6v4LApFYBxSIOyElaVzLXmGMGKcpvrEFSTiYKS0CQ4YwR1AkexjbaK gTaRZkY6t47cEmyWJQUT59vv95TbsG1yH7XyaS2ROg1BCdfIXR1NrDTxuTRuV4w2yBBn ls+xyzR4cVRG2dMchCHB1Fmf3wU6YAKBoiWK7T2ZXC8kIqjFJVmF2lCM2ATwVkwLnj00 SXmHrrWzYSFXtCexogr1oc65oNU20yIXmU3sZ8Yrce1jkYs5qfLxHVUP+6rbqnGjETsX zHhQ== MIME-Version: 1.0 X-Received: by 10.152.19.40 with SMTP id b8mr8905534lae.34.1374312669690; Sat, 20 Jul 2013 02:31:09 -0700 (PDT) Received: by 10.112.18.200 with HTTP; Sat, 20 Jul 2013 02:31:09 -0700 (PDT) In-Reply-To: <51EA494E.40700@lsces.co.uk> References: <1374256806.3946.101.camel@guybrush> <51EA0F30.3010609@rotorised.com> <51EA4240.7030707@sugarcrm.com> <51EA494E.40700@lsces.co.uk> Date: Sat, 20 Jul 2013 10:31:09 +0100 Message-ID: To: Lester Caine Cc: PHP internals Content-Type: multipart/alternative; boundary=089e01493b167cc0aa04e1ee1a2b Subject: Re: [PHP-DEV] Language constructs and callability From: arraypad@gmail.com (Arpad Ray) --089e01493b167cc0aa04e1ee1a2b Content-Type: text/plain; charset=ISO-8859-1 On Sat, Jul 20, 2013 at 9:24 AM, Lester Caine wrote: > Stas Malyshev wrote: > >> Is there a reason that echo/print couldn't be implemented as functions >>> >with some sort of backwards compatibility layer? isset/etc make sense to >>> >> > Yes, the reason is not fixing what isn't broken:) >> > > And perhaps introducing 'black holes' like the one created when suddenly stopped working, then had to be repaired. If we were writing and > supporting 'flat' code where we know how everything works, things would be > a lot easier, but many of us are using third party libraries and frameworks > which tend to follow 'new practices' while some of us still stubbornly > stick to old ones ;) The discussion on picking up a know version of a > library is very relevant here, and would at least help to maintain > consistency. Can one ensure that backwards compatibility does not become > undefined in some circumstances and just adds to the workload ... and > creates further havoc in user land? > > There has to be a substantial reason to implementing change? > > I agree this is a largely pointless can of worms, but here's my POC from yesterday in case anyone wants to play with it: https://gist.github.com/arraypad/6044439 Arpad --089e01493b167cc0aa04e1ee1a2b--