1、新建一个246.php,如图所示:
3、声明PHP与浏览器交互的文件类型和编码,如图所示:
5、使用function_exists() 函数判断 show() 函数是否已经被定义,代码如图所示:
7、至此,本教程结束!