Last active
December 7, 2016 23:20
-
-
Save ilhamarrouf/8e8f607765866c5380f7f1b8d31c8927 to your computer and use it in GitHub Desktop.
PHP Logical Operators
This file contains hidden or 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 | |
$x = 100; | |
/* Jika nilai $x di bawah ini sama dengan variabel $x yang telah dideklarasikan | |
maka akan mengeluarkan output false, begitu juga sebaliknya, Jika berbeda | |
makan akan mengeluarkan output true*/ | |
if ($x !== 90) { | |
echo "Hello world!"; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment