-
-
Save manuelaplesa96/3faf9d5bc3a60321254762004ad8a820 to your computer and use it in GitHub Desktop.
The gist that shows an example of handling null with if-else statements in the PHP programming language.
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
if ($user != null) { | |
... | |
} else { | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment