摘要:
php_sapi_name() - 返回 web 服务器和 PHP 之间的接口类型。 SAPI(Server Application Programming Interface)服务器应用程序编程接口,即PHP与其他应用交互的接口,PHP脚本要执行有很多方式,通过Web服务器,或者直接在命令行下,也 阅读全文
摘要:
json_last_error() - 返回 JSON 编码解码时最后发生的错误。。 说明: json_last_error ( void ) : int 参数: 无 返回值: 返回一个整型(integer),这个值会是以下的常量之一: JSON_ERROR_NONE 没有错误发生 JSON_ERR 阅读全文
摘要:
func_num_args() - 返回传递给函数的参数数量。 说明: func_num_args ( void ) : int 参数: 无 返回值: 返回传入当前用户定义函数的参数数量。 参考链接: 手册 Enjoy it ! 阅读全文