Best practice: PHP - Pay attention to data types during comparison

PHP – Auf Datentypen bei Vergleichsoperatoren achten

Manchmal lohnt sich ein Blick in die PHP-Doku, um zu erkennen, dass strikte Vergleichsoperatoren wichtig sind. Z.B. Bei folgendem Vergleich:

0 == "a" // true

Im Vergleich zu:

0 === "a" // false

Best practice

Best practice: PHP - Pay attention to data types during comparison
Best practice: PHP – Pay attention to data types during comparison