Skip to content

Instantly share code, notes, and snippets.

@kemo
Created August 23, 2013 12:47
Show Gist options
  • Save kemo/6318955 to your computer and use it in GitHub Desktop.
Save kemo/6318955 to your computer and use it in GitHub Desktop.
(string) mukuru-card
echo ( ! $a == 'mukuru-card') ->
FALSE
echo ($a != 'mukuru-card') ->
FALSE
(string)
echo ( ! $a == 'mukuru-card') ->
TRUE
echo ($a != 'mukuru-card') ->
TRUE
(integer) 0
echo ( ! $a == 'mukuru-card') ->
TRUE
echo ($a != 'mukuru-card') ->
FALSE
(boolean) false
echo ( ! $a == 'mukuru-card') ->
TRUE
echo ($a != 'mukuru-card') ->
TRUE
(boolean) true
echo ( ! $a == 'mukuru-card') ->
FALSE
echo ($a != 'mukuru-card') ->
FALSE
(integer) 1
echo ( ! $a == 'mukuru-card') ->
FALSE
echo ($a != 'mukuru-card') ->
TRUE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment