Skip to content

Instantly share code, notes, and snippets.

@KnowTheCodePro
Created March 1, 2016 18:04
Show Gist options
  • Save KnowTheCodePro/48fa30698afafa401338 to your computer and use it in GitHub Desktop.
Save KnowTheCodePro/48fa30698afafa401338 to your computer and use it in GitHub Desktop.
PHP falsey state
<?php
namespace KnowTheCode;
if ( $some_variable ) {
// do stuff
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment