Source Code:
(back to article)
<?php // PHP program to demonstrate // Double NOT operator // Declaring a variable and // initializing it $t = 10; // Checking condition if ($t !== 10) { echo "This is NOT operator!"; } elseif (!!$t) { echo "This is Double NOT operator!"; } else { echo "Finish!"; } ?>
Result:
Report an issue