25 ms·
In recent PHPs, yes, as they've gotten a lot more strict. On older ones though, it's not an error: https://onlinephp.io?s=s7EvyCjg5UpNzshXMFTQVlBKyyxLVbIGAA%2C
by Groxx 3y ago
In recent PHPs, yes, as they've gotten a lot more strict.
On older ones though, it's not an error: https://onlinephp.io?s=s7EvyCjg5UpNzshXMFTQVlBKyyxLVbIGAA%2C%2C&v=5.6.40 https://onlinephp.io?s=s7EvyCjg5UpNzshXMFTQVlBKyyxLVbIGAA%2C...
Even in the previous major version (7) it's only a warning.
I agree that philosophy is likely the main cause of decisions like this, but JS is hardly unique in having it.