1.php的多載overload 跟別的程式語言不一樣 1.1多載建構式 用預設空白來多載 class a{ public __construct($name="",$age=""){} } $a=new a("",25); $a=new a("jack"); 1.2