Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68244 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 19224 invoked from network); 20 Jul 2013 04:16:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Jul 2013 04:16:42 -0000 Authentication-Results: pb1.pair.com smtp.mail=lists@rotorised.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=lists@rotorised.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain rotorised.com from 203.88.126.58 cause and error) X-PHP-List-Original-Sender: lists@rotorised.com X-Host-Fingerprint: 203.88.126.58 mta58-d1.ip2.cbr1.mail-filtering.com.au Received: from [203.88.126.58] ([203.88.126.58:33217] helo=mta58-d1.ip2.cbr1.mail-filtering.com.au) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 39/0B-13120-72F0AE15 for ; Sat, 20 Jul 2013 00:16:40 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AoMJALAN6lGva64TjGdsb2JhbABagzsBg1apf5NBBAQBgREWDgEBASc8giQBAQUjDwFFEQsNCwICBRYLAgIJAwIBAgFFEwgBAYgLpgyRR4Eojm4WgkeBIQOZBoRnNo4r X-IPAS-Result: AoMJALAN6lGva64TjGdsb2JhbABagzsBg1apf5NBBAQBgREWDgEBASc8giQBAQUjDwFFEQsNCwICBRYLAgIJAwIBAgFFEwgBAYgLpgyRR4Eojm4WgkeBIQOZBoRnNo4r X-IronPort-AV: E=Sophos;i="4.89,706,1367935200"; d="scan'208";a="187617700" Received: from unknown (HELO ub005lcs09.cbr.the-server.net.au) ([175.107.174.19]) by smtp-data2.ironport2.cbr1.mail-filtering.com.au with ESMTP; 20 Jul 2013 14:16:36 +1000 Received: from 217.33.96.58.static.exetel.com.au ([58.96.33.217]:52368 helo=[192.168.1.134]) by ub005lcs09.cbr.the-server.net.au with esmtpa (Exim 4.80.1) (envelope-from ) id 1V0Oaw-003Kjf-GC for internals@lists.php.net; Sat, 20 Jul 2013 14:16:34 +1000 Message-ID: <51EA0F30.3010609@rotorised.com> Date: Sat, 20 Jul 2013 14:16:48 +1000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: internals@lists.php.net References: <1374256806.3946.101.camel@guybrush> In-Reply-To: <1374256806.3946.101.camel@guybrush> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] Language constructs and callability From: lists@rotorised.com (Ryan McCue) Johannes Schlüter wrote: > So, unfortunately no, language constructs have different semantics which > 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