Skip to content

Instantly share code, notes, and snippets.

@mikemix
Created August 9, 2022 19:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikemix/6541386e98b95e1676f5a5d36a446b49 to your computer and use it in GitHub Desktop.
Save mikemix/6541386e98b95e1676f5a5d36a446b49 to your computer and use it in GitHub Desktop.
<?php
if ($isSuccess && $user->isActive() && $httpApi->hasAccess($user)) {
// if $isSuccess is false
// other conditions will not be evaluated
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment