What is the difference between access modifiers in php? [closed]

我们两清 提交于 2019-11-29 13:06:31

No, access modifiers have no effect on runtime memory utilization in either Java or PHP, nor in any other language I have heard of.

Possibly the code size may increase a few bytes due to access modifiers in some bytecodes depending on how they are encoded. Your program must be extremently efficient in other respects before it is worth worrying about this.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!