PDO: ATTR_CLIENT_VERSION what does this double colon mean? the two symbols in the PHP class edited by lghyt in 2013-12-0612: 34: 45 are dizzy. PDO: ATTR_CLIENT_VERSION & nbsp; what is the meaning of this double colon PDO: ATTR_CLIENT_VERSION?
This post was last edited by lghyt at 12:34:45 on
These two symbols in the PHP class are dizzy.
PDO: ATTR_CLIENT_VERSION what does this double colon mean?
Share: More
------ Solution --------------------
When accessing the member variables or methods in the PHP class, if the referenced variables or methods are declared as const (defining constants) or static (declaring static), use the operators ::,, otherwise, use the operator>.
In this case, you should understand it...
------ Solution --------------------
Is there such a description in the manual?
Scope resolution operator (::)
Sometimes, functions in the category class or functions and variables in the base class are very useful without declaring any instances. The operator is used in this case.