魔术方法 成员属性 变量和成员属性是一个东西 __consrtuct构造方法 在对象实例化时执行的方法 __construct()只会在new一个对象时触发,serialiaze和unserialize都不会触发 __destruct()析构函数 __destruct()函数只会在序列化serial
posted on 2024-06-02 16:52  Yolololololo  阅读(10)  评论(0编辑  收藏  举报