On 9/18/2023 3:36 PM, Larry Garfield wrote:
I can see where you're going with this, but as others have noted I don't think
it's really the right way to go about it.
If the property hooks RFC passes (we're stalled a bit trying to put together
benchmarks, sorry), that will solve this use case in
On 9/18/2023 2:40 PM, Dusk wrote:
Surely this can already be accomplished unambiguously using syntax
like `` or `title)() ?>` ?
In any case, this seems like a non-starter, as it would substantially change
the behavior of some existing code, e.g. when echoing objects which implement
both __invo
Hello,
I'm gauging interest on a proposed change to the short echo tag "The short echo tag "" is equivalent to "",
which allows for beautiful MVC views like this:
title ?>
body ?>
INSTEAD:
Change the short echo tag "" to be equivalent to "is_callable($x) ? $x() : echo $x; ?>", which allows