在PHP语言中,写一个类,如果类的成员函数 很多,会不会增大实例化这个类时占用的内存? 如下: class abc{ public function __construct(){ xxxxxx;xxxxxx; } public function a(){xxxxxx;} public function b(){xxxxxxx;} }//classs 那当我实例化它时,是不是函数 越多占的内存越大?
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn