开发者

Difference between :: operator and -> operator in PHP [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. 开发者_如何学Python Closed 11 years ago.

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?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜