Skip to content

Instantly share code, notes, and snippets.

@iakio
Created February 18, 2010 02:15
Show Gist options
  • Save iakio/307256 to your computer and use it in GitHub Desktop.
Save iakio/307256 to your computer and use it in GitHub Desktop.
$ php -r 'echo "foo" . 2 * 5, "\n";'
foo10
$ php -r 'echo "foo" . 2 + 5, "\n";'
5
$ php -r 'var_dump(true <> 0 > 1);'
bool(true)
$ php -r 'var_dump(true != 0 > 1);'
bool(true)
$ php -r 'var_dump((true <> 0) > 1);'
bool(false)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment