Skip to content

Instantly share code, notes, and snippets.

@jasonglisson
Last active September 14, 2017 12:41
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 jasonglisson/4f717026a6346bb58d2ee4eff98a6a71 to your computer and use it in GitHub Desktop.
Save jasonglisson/4f717026a6346bb58d2ee4eff98a6a71 to your computer and use it in GitHub Desktop.
Null Coalesce Operator - https://wiki.php.net/rfc/isset_ternary
isset($_GET['mykey']) ? $_GET['mykey'] : ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment