Home  >  Article  >  Backend Development  >  PHP的线程安全有关问题

PHP的线程安全有关问题

WBOY
WBOYOriginal
2016-06-13 10:37:38857browse

PHP的线程安全问题
一个类中有静态变量

这个静态变量将会在程序中 经常被多个请求同时访问。


会有线程安全的问题么?

------解决方案--------------------
任何时刻 php 程序都是被隔离的,与是否有静态变量无关
更与 线程安全 无关

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