Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
OMG ! PHP is so broken
php -r '
$a="61529519452809720693702583126814";
switch($a){
case "61529519452809720000000000000000":echo "FAIL";break;
case "61529519452809720693702583126814":echo "OK";break;
default:echo "FAIL2";}'
return :
FAIL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment