Difference between :: operator and -> operator in PHP [closed]
In Object oriented PHP we use ::
operator and ->
operator to access object in a class. What are the differeces between those two operator beside ::
operator for static and ->
operator for non static. And why there is distinction between those two operator, unlike another programming language which use just .
(dot) operator for accessing class object?
精彩评论