Published: Aug 07 2008 / 03:21
I was sure this generates a warning, but I was wrong. PHP should be doing it at some configurable level of warning, "you are comparing a string (not containing a number) with a number" or something like that.
Hah. Very amusing!
Quite an accurate observation about the most important feature of PHP.
Voted up. Good lawl, Sir.
Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.
Advertising - Terms of Service - Privacy - © 1997-2014, DZone, Inc.