会员
周边
新闻
博问
闪存
众包
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
代码改变世界
Cnblogs
Dashboard
Login
Home
Contact
Gallery
Subscribe
RSS
博客园中的Arvin
随笔档案-2018年12月
php判断是否为命令行模式
2018-12-24 10:28 by 狼人:-), 1044 阅读,
收藏
,
摘要: function is_cli(){ return preg_match("/cli/i", php_sapi_name()) ? 1 : 0; }
阅读全文
0 Comment
About