Home > Backend Development > PHP Tutorial > php的DB种使用静态方法有什么好处

php的DB种使用静态方法有什么好处

WBOY
Release: 2016-06-13 10:32:15
Original
772 people have browsed it

php的DB类使用静态方法有什么好处?
RT

------解决方案--------------------
不用实例化类。可以用 类名::静态方法名 进行调用。

Related labels:
php
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template