Created
February 26, 2016 23:55
-
-
Save KnowTheCodePro/ff86d38ef07a30d53bee to your computer and use it in GitHub Desktop.
PHP Conditional Expression - Anatomy of a Conditional Expression
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace KnowTheCode; | |
function demo ( $post_name ) { | |
if ( $post_name == 'docx' ) { | |
// do stuff | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment