Created
August 3, 2014 19:57
-
-
Save maykonmeier/5e39568a2d7914c8fb16 to your computer and use it in GitHub Desktop.
Operadores lógicos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// foo() nunca será chamada | |
$a = (false && foo()); | |
$b = (true || foo()); | |
$c = (false and foo()); | |
$d = (true or foo()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment