Re: Language constructs and callability
| From: | Ryan McCue | Date: | Sat, 20 Jul 2013 04:28:18 +0000 |
| Subject: | Re: Language constructs and callability | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-68249@lists.php.net to get a copy of this message | ||
Sara Golemon wrote:
> Well, now... to be fair... You could make them functions and use the same
> parser trick the backtick operator uses. to map the non-parenthesized
> versions.... feels messy though. I'd just hate to get stuck with a hacky
> workaround like that for the long term.
That's what I meant by the "backwards compatibility layer". Not saying
we have to deprecate the use as a construct, but why can't we enable the
use as a function (and hence, callback, etc)? It feels less cleaner from
my point of view (userland).
--
Ryan McCue
<http://ryanmccue.info/>