Thread Safety

如何查看php是thread-safe 线程安全还是non-thread-safe 非线程安全?

通过phpinfo()查看,打印出php版本信息,查找Thread Safety选项。
Thread Safety:如果是enable,则是Thread Safe(线程安全)版本;否则,就是None Thread Safe(非线程安全)版本。

原文地址:https://www.cnblogs.com/lichihua/p/10434233.html