set_time_limit — 设置脚本最大执行时间; bool set_time_limit ( int $seconds ) 设置允许脚本运行的时间,单位为秒。如果超过了此设置,脚本返回一个致命的错误。默认值为30秒,或者是在php.ini的max_execution_time被定义的值,如果此值存在。 来源:oschina链接:https://my.oschina.net/u/3654907/blog/1612425 标签 time函数