gizmola Posted July 1, 2012 Share Posted July 1, 2012 Xyph: When I wrote that I had a feeling you'd call me on it. However in practice people typically don't use isset() in that way, although I agree with your point, that PHP null can cause a lot of confusion, and should be avoided. Quote Link to comment Share on other sites More sharing options...
xyph Posted July 2, 2012 Share Posted July 2, 2012 Xyph: When I wrote that I had a feeling you'd call me on it. However in practice people typically don't use isset() in that way, although I agree with your point, that PHP null can cause a lot of confusion, and should be avoided. After reading it, you also said "'null' string", which would be an empty string. I just jumped on the idea of being a know-it-all Indeed, a true NULL value has different behaviour in most languages, including SQL. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.