Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@nathanaelle
Created April 16, 2012 10:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nathanaelle/2397507 to your computer and use it in GitHub Desktop.
Save nathanaelle/2397507 to your computer and use it in GitHub Desktop.
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