PHP 8 之 重写方法时参数可变
参考博客:https://www.php.cn/toutiao-462471.html
<?php
class Human{
private $name;
private $age;
private $sex;
public function setInfo($name
参考博客:https://www.php.cn/toutiao-462471.html
<?php
class Human{
private $name;
private $age;
private $sex;
public function setInfo($name