Home > Backend Development > PHP Tutorial > static的好外是个啥,该怎么处理

static的好外是个啥,该怎么处理

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 12:09:43
Original
967 people have browsed it

static的好外是个啥
大家知道static是在数据区存储的,那么在写类的时候都写成静态的不就行了,为啥还要写动态生成类的写法呢,他们都有什么优缺点呢?
------解决思路----------------------
静态是相对动态的
如果都是静态,那就只用共性,没有个性了

Related labels:
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
Latest Issues
Static resource path usage
From 1970-01-01 08:00:00
0
0
0
Course static resources
From 1970-01-01 08:00:00
0
0
0
static variable
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template