11 2021 档案

摘要:我们都知道,在php中,创建对象前需要先定义一个类,再通过这个类实例化对象,如: <?php class Person { public $name; public function __construct(string $name) { $this->name = $name; } public 阅读全文
posted @ 2021-11-06 00:45 暖影子 阅读(235) 评论(0) 推荐(0)