Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

自定义类问题 #48

Closed
oblind opened this issue Sep 9, 2018 · 1 comment
Closed

自定义类问题 #48

oblind opened this issue Sep 9, 2018 · 1 comment

Comments

@oblind
Copy link

oblind commented Sep 9, 2018

自定义类可以派生自PHP内置类,或实现内置接口吗?
比如我希望我的类能实现类似PHP中
class Test implements ArrayAccess 或
class Pool extends SplQueue
只能定义孤立的类吗?

@oblind
Copy link
Author

oblind commented Sep 9, 2018

原来有extends函数,抱歉打扰了

@oblind oblind closed this as completed Sep 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant