Re: Language constructs and callability

From: Date: Sat, 20 Jul 2013 04:16:48 +0000
Subject: Re: Language constructs and callability
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-68244@lists.php.net to get a copy of this message
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 <http://ryanmccue.info/>

« previous php.internals (#68244) next »