PHP的多态

cut();
    }
}

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

标题名称:PHP的多态
网页地址:http://scpengxi.com/article/psecop.html