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

PHP的线程安全有关问题

WBOY
Release: 2016-06-13 13:19:21
Original
746 people have browsed it

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

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


会有线程安全的问题么?

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

Related labels:
php
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template