1.const is a constant in a class, define to define constants
2.const can only modify the properties of a class, cannot decorate a method of a class, static can modify a property, or you can modify a method
Both 3.const and static belong to the class itself, not to the class instance after new. In-class Access uses the self::, outside of the class using the class name:: To access; $this in a class refers to the class instance itself, and const and static belong to the class itself, so it cannot be accessed with $this
4.self::name refers to Const,self:: $name refers to the static;const is a constant, is not required by the variable symbol. Static modified variable, requires a variable character.
5.const once defined cannot be changed, static modified variables can be changed
The ordinary members and methods of the class cannot be used in the 6.static method; it is well understood that when a static method is called, it is not certain that the class has not been instantiated. The static property and the static method can be used in the normal method of the class.
The difference and connection between const and static in PHP