Hi

Am 2025-06-16 09:05, schrieb wheakerd:
To make PHP compilable in AOT mode, certain dynamic features must be
restricted or restructured. The following are required:

[…]

#### b. **Unified Standard Library**
- Procedural global functions (e.g., `strlen`, `array_merge`) are
consolidated into base classes (e.g., `Str::len()`, `Arr::merge()`).

Why would that be required?

I would like to clarify that I am currently not in a position to implement this proposal independently, as it would involve deep modifications to the
PHP runtime, compiler pipeline design, or extension interfaces.

This RFC is submitted with the intention of initiating structured
discussion and community exploration around this long-term direction. I am
willing to contribute research, coordination, and specification work if
there is interest from core contributors.

I greatly appreciate any feedback, suggestions, or interest in
collaborating on prototyping or feasibility assessment.

I believe you are greatly underestimating the effort that would need to go into this proposal. Generally speaking from experience a proposal where the author does not have the knowledge / capability to do the implementation - or at least a clear implementation plan - will go nowhere. See also: Generics.

Best regards
Tim Düsterhus

Reply via email to