Skip to content

Instantly share code, notes, and snippets.

@binarykore
Created November 19, 2023 17:52
Show Gist options
  • Select an option

  • Save binarykore/92db56465698d4d731f0c2bb249112ce to your computer and use it in GitHub Desktop.

Select an option

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..
<?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