Last active
August 9, 2021 21:37
-
-
Save tadeubdev/856d4ec43e8806fd959c30071f87975b to your computer and use it in GitHub Desktop.
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 | |
| $nome = "Padma"; | |
| $sobrenome = "Patil"; | |
| $casa = "Corvinal"; | |
| function checkTemAcesso(string $nome, string $sobrenome, string $case): bool { | |
| if ($nome === "Luna" && $sobrenome === "Lovegood" or $casa === "Corvinal") { | |
| return true; | |
| } | |
| return false; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment