Home >Backend Development >PHP Tutorial > PHP运行年代码加载

PHP运行年代码加载

WBOY
WBOYOriginal
2016-06-13 12:53:56924browse

PHP运行时代码加载
有一个php cli程序要跑很长时间,现在的问题是想在程序跑的时候更新代码,并继续运行。不知道PHP有没有这种运行时加载的功能。


------解决方案--------------------
require(),include() 加载文件
eval() 动态执行字符串
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn