加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长学院 > PHP教程 > 正文

卸载php扩展:反向dl()

发布时间:2020-12-13 16:45:29 所属栏目:PHP教程 来源:网络整理
导读:对于那些大师们来说,PHP中是否有任何可以在运行时卸载特定扩展的隐藏宝石? 解决方法 不,那是 not possible ,很可能永远不会: [2011-02-08 11:34 UTC] rasmus@php.net extension unloading on a per-request basis simply isn’t feasible from a performan
对于那些大师们来说,PHP中是否有任何可以在运行时卸载特定扩展的隐藏宝石?

解决方法

不,那是 not possible,很可能永远不会:

[2011-02-08 11:34 UTC] rasmus@php.net
extension unloading on a per-request basis simply isn’t feasible from a
performance point of view. And you obviously can’t unload and leave it unloaded
for the next request because that next request may be for a page that expects the
extension to be there.

但是,不鼓励使用dl() – 在最近的版本中,它仅在CLI版本中可用.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读