Last active
May 10, 2019 01:01
-
-
Save flaviors200/8ea4cdd619e1e314ca89d1e7e28f171d to your computer and use it in GitHub Desktop.
Weak typing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$string = 'foo'; | |
$integer = 0; | |
if ($string == $integer) { | |
echo "I valori sono uguali"; | |
} else { | |
echo "I valori non sono uguali"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment