https://www.php.net/manual/tr/langua...comparison.php // Same examples as above, using === instead of ==
echo ("007" === "7" ? "EQUAL" : "not equal");
// Prints: not equal
echo ( (string)'0001' === (string)'+1.' ? "EQUAL" : "not equal");
// Prints: not equal
echo (' 131e-2' === '001.3100' ? "EQUAL" : "not equal");
// Prints: not equal