Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ($user == 'john' && $userStatus == 'active') {
- // evereything is OK
- } else {
- throw new Exception()...
- }
- if (!($user == 'john' && status == 'active')){
- throw new Exception()...
- }
- // everything is OK
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement