摘要:
一般来说类的私有属性和私有方法只能在类的内部进行使用,但是我们可以通过反射类在类的外部进行使用私有属性和私有方法 class Test { private $str = 'this is private property;'; private function play() { return 'th 阅读全文
摘要:
先创建表 CREATE TABLE test( id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, status INT(11), value VARCHAR(20) ); 写入部分数据 INSERT INTO test(status,value 阅读全文