Re: [Initial Feedback] PHP User Modules - An Adaptation of ES6 from JavaScript
| From: | Jordan LeDoux | Date: | Thu, 27 Jun 2024 21:14:59 +0000 |
| Subject: | Re: [Initial Feedback] PHP User Modules - An Adaptation of ES6 from JavaScript | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-123967@lists.php.net to get a copy of this message | ||
On Thu, Jun 27, 2024 at 12:53 PM Jim Winstead <jimw@trainedmonkey.com>
wrote:
> On Wed, Jun 26, 2024, at 7:15 PM, Michael Morris wrote:
>
> PHP User Modules are php files that are brought into the runtime through a
> new parser that is able to generate faster and more concise runtime code by
> removing support for problematic features and imposing a strict mode by
> default. They focus on PHP as a language and not as a template engine.
>
>
> I think the problem I have with this proposal is calling these "PHP User
> Modules". Here's an admittedly uncharitable rephrase of this:
>
> "NewLanguage User Modules are NewLanguage files that are brought into the
> PHP runtime through a new parser that may theoretically be able to generate
> faster and more concise runtime code by implementing a different language
> based on much of the syntax from PHP. This new language does not prioritize
> its use as a template language for HTML."
>
>
Do you feel that Phar is a separate language? Is PHP no longer PHP if the @
error suppression is removed? I'm really unclear about the point you are
making here, even if I ignore the "uncharitable" rephrase.
Jordan