Created
November 19, 2023 17:52
-
-
Save binarykore/92db56465698d4d731f0c2bb249112ce to your computer and use it in GitHub Desktop.
Testing PHP Concisiveness Method using PHP, will be adding a new PHP Class soon..
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 | |
| const guest = ""; | |
| const member = "test"; | |
| $_res = guest || member; | |
| echo($_res);//Returns True, for Conditional Statements.. | |
| if(!empty($_res)){ | |
| echo(member); | |
| }// | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment