Created
September 20, 2013 15:22
-
-
Save hfhimage/6639183 to your computer and use it in GitHub Desktop.
php 常量__FUNCTION__
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
// __FUNCTION__ 为函数名称 | |
function shutdown() { | |
echo 'Shutdown: ' . __FUNCTION__ . '()' . PHP_EOL; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment