PHP的多态

cut();
    }
}

Knife::tool(new Banana());
echo '
'; Knife::tool(new Apple()); ?>

本文名称:PHP的多态
网站地址:http://jxruijie.cn/article/psecop.html