What is the scope of the properties of an object?
phpcn_u2566
phpcn_u2566 2017-07-24 10:34:23
0
2
1558

For example: The properties of the object are not declared with var in front. Is it global or local? Or is it scope-agnostic?

phpcn_u2566
phpcn_u2566

reply all(2)
nearest

Var can be omitted in php, it has nothing to do with global and local matters

蝎子

If you don’t add var, it will default to var. Generally, it will be declared, which is more standardized

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template