Toot

Written by Larry Garfield on 2025-01-20 at 05:45

@shudder @blizzz Well, more a matter of how PHP works. There is one single global table of available symbols (functions/classes/etc.). Once any symbol is declared, it's declared. Whether it's declared in the stdlib, an extension, the current file, or a require()ed file (which is what autoloading does), it's all the same. There's no concept of "imports" like in JS or Python.

Changing that at this point is essentially impossible without breaking a billion lines of code.

=> More informations about this toot | View the thread | More toots from Crell@phpc.social

Mentions

=> View shudder@phpc.social profile | View blizzz@layer8.space profile

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113859096968265683
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
221.400419 milliseconds
Gemini-to-HTML Time
0.661452 milliseconds

This content has been proxied by September (3851b).