标签:知识 info span 输出 技术 -- color int UNC
<?php
interface wenwa
{
function eat();
}
interface duwa
{
function drink();
}
class cpc implements duwa,wenwa
{
public function eat()
{
echo "喜欢吃粤菜"."\n";
}
public function drink()
{
echo "喜欢喝汤"."\n";
}
}
$cpc = new cpc();
$cpc->eat();
$cpc->drink();
?>
输出结果:
喜欢吃粤菜
喜欢喝汤
标签:知识 info span 输出 技术 -- color int UNC
原文地址:https://www.cnblogs.com/saintdingspage/p/10963948.html