3 ms·
So, you should use the old shell trick of adding an "X" to the front of the strings before comparing?
by protomyth 12y ago
So, you should use the old shell trick of adding an "X" to the front of the strings before comparing?
- maxlybbert 12y agoOr use === instead of ==. The PHP developers have been pretty honest about the mistakes they made early on because they didn't know better. Unfortunately, many of those mistakes persist. The difference between == and === is one of the more well-known mistakes.