Created
March 1, 2016 04:42
-
-
Save KnowTheCodePro/5a28f6c10680a69e12b6 to your computer and use it in GitHub Desktop.
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 get_post_name( array $post ) { | |
return $post['post_name']; | |
} | |
$post = array( | |
'post_name' => 'PHP is_array - When', | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment