Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68245 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20708 invoked from network); 20 Jul 2013 04:23:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Jul 2013 04:23:24 -0000 Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 209.85.192.173 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 209.85.192.173 mail-pd0-f173.google.com Received: from [209.85.192.173] ([209.85.192.173:35802] helo=mail-pd0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0D/5B-13120-BB01AE15 for ; Sat, 20 Jul 2013 00:23:23 -0400 Received: by mail-pd0-f173.google.com with SMTP id v14so4909323pde.18 for ; Fri, 19 Jul 2013 21:23:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:x-originating-ip:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=xEBKygp7i3hCK8KIn9xBbmlHiKIu2Mlbotq8c/Jr+4k=; b=Z38HMag7EHfPCoFHwRkS9jcex/jTqX8W/DAXYjiLLlzSNk7lj0H4SWPF/67DYeDVFW W474zrEQCTB5lPl13WPfraloe+djvcx8VWwJsBW+GmhDQHyJFivninsGylR0ACpjBajE psXfyCDikSf2rTcwXwKuia6ghovIhqcdoe/kuZCC4SHnh4rIoQsRKzllIxXuEZ3KBDoC +ORPMNF3fZhvUW9KvUp4UVS3G7CK83igdUjHfrDsSUojDLbH3cmDt3JVi69iKaLiukHq oB1E9GRtJ10EhnZAr3ETxNqyGfr6EIw+ScCtXTOrm8Cg4VGkf3U51azi/Yo3ZzSoLjur gGJA== MIME-Version: 1.0 X-Received: by 10.66.142.5 with SMTP id rs5mr21677545pab.168.1374294200984; Fri, 19 Jul 2013 21:23:20 -0700 (PDT) Sender: php@golemon.com Received: by 10.70.128.71 with HTTP; Fri, 19 Jul 2013 21:23:20 -0700 (PDT) X-Originating-IP: [98.210.180.187] In-Reply-To: <51EA0F30.3010609@rotorised.com> References: <1374256806.3946.101.camel@guybrush> <51EA0F30.3010609@rotorised.com> Date: Fri, 19 Jul 2013 21:23:20 -0700 X-Google-Sender-Auth: hqyRsoI0UTxu-gXCWK8imHeWCOc Message-ID: To: Ryan McCue Cc: PHP internals Content-Type: multipart/alternative; boundary=001a11330f2aaaa96904e1e9cd7a X-Gm-Message-State: ALoCoQkyJ9A2k68jU37Np2IBuj3m8IjSrPR9BGuidGDJKbw03DZMy3LfAuuNEaKB3pCmR+lnHufI Subject: Re: [PHP-DEV] Language constructs and callability From: pollita@php.net (Sara Golemon) --001a11330f2aaaa96904e1e9cd7a Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Lack of parenthesis and the fact that EVERY project out there takes advantage of this affordance. So BC *nightmare*. On Fri, Jul 19, 2013 at 9:16 PM, Ryan McCue wrote: > Johannes Schl=FCter wrote: > > So, unfortunately no, language constructs have different semantics whic= h > > we can't emulate inside function semantics (well ok, it is software, so > > it is thinkable .. but nobody,yet, came up with a robust patch which > > doesn't cause maintenance *and* performance penalty) > > 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 > be language constructs, but I can't think of any reason echo/print need > to be. > > -- > Ryan McCue > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --001a11330f2aaaa96904e1e9cd7a--