Skip to content

Instantly share code, notes, and snippets.

@djpate
Created September 23, 2011 09:33
Show Gist options
  • Save djpate/1237032 to your computer and use it in GitHub Desktop.
Save djpate/1237032 to your computer and use it in GitHub Desktop.
echo in_array("test",array(true,false,0,1,"0","1","true","false"));
> 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment