class A
{
public $name = "host";
public $id = "2";
};
$b = array("green","red");
$p = new A;
print_r($p);
print_r($b);
php对象和数组的定义
最新推荐文章于 2025-05-22 10:46:10 发布
class A
{
public $name = "host";
public $id = "2";
};
$b = array("green","red");
$p = new A;
print_r($p);
print_r($b);