Guest User

Untitled

a guest
Jun 21st, 2018
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. __?:__
  2.  
  3. Expression expr1 ?: expr3 returns expr1 if expr1 evaluates to TRUE, and expr3 otherwise.
  4.  
  5. __??__
  6.  
  7. The null coalescing operator (??) has been added as syntactic sugar for the common case of needing to use a ternary in conjunction with isset().
  8. It returns its first operand if it exists and is not NULL; otherwise it returns its second operand.
Add Comment
Please, Sign In to add comment