Home >Backend Development >PHP Tutorial >Comparison exceptions in PHP code
A big bug I encountered this morning is that when the student ID number on the school platform is an extremely long pure number, when comparing, it is found that they are all the same! I wrote a simple one and pasted it up, and I’d like experts to explain why! I really didn’t notice this before~ This situation must be judged by ===. The judgment by == is always the same!
|