Comment

Comment by williamdclt

"if not defined" doesn't help, if your own `array_find` doesn't have the same signature and semantics than the new global then you're screwed. You'd want the opposite: overwrite it if it already exists in the global scope (dunno if that's easy / how that'd work in PHP)

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton