3 ms·
I think it's really a philosophical question what is "broken". An undefined variable used to have a particular and also well-defined behaviour, now it has a dif
by userbinator 7y ago
I think it's really a philosophical question what is "broken". An undefined variable used to have a particular and also well-defined behaviour, now it has a different behaviour.
Personally, I think a lot of these design decisions which some people abhor is why PHP became popular in the first place. In that perspective, turning it into yet another "big bureaucratic language" is very much against the spirit of its existence.
- koolba 7y agoSince the dawn of programming there’s been a schism as to whether undefined means empty versus being a logical error. But deep down we all know what it should mean.