Re: [RFC] [Discussion] Native Markup Expressions

From: Date: Thu, 16 Jul 2026 03:34:27 +0000
Subject: Re: [RFC] [Discussion] Native Markup Expressions
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-131955@lists.php.net to get a copy of this message
On 2026-07-15 11:36, Liam Hammett wrote:
It proposes a native syntax for HTML fragments as first-class PHP expressions, akin to how the frontend community has adopted JSX, with composition and escape-by-default output: Heh, just today by coincidence I was pointed toward https://jsx.lol/ - which, despite the name is more about React in general.
I'm more partial to Edmond Dantes's suggestion of providing parser hooks so that different markup expression syntaxes can be added via extension, rather than locking in one that happened to be popular at one time.

« previous php.internals (#131955) next »