function makebold($inputtext)//定义function makebold()函数
{
$boldedtext = ;
$boldedtext .= $inputtext;
$boldedtext .= ;
return($boldedtext);//返回变量$boldedtext
}
print(这行没有加重!!!
);//直接打印字符串
print(makebold(这行被加重了!!!) .
);//调用function makebold()函数
print(这行没有加重!!!
);//直接打印字符串
?>
http://www.bkjia.com/phpjc/532021.htmlwww.bkjia.comtruehttp://www.bkjia.com/phpjc/532021.htmltecharticle有返回值的函数 function makebold($inputtext)//定义function makebold()函数 { $boldedtext = ; $boldedtext .= $inputtext; $boldedtext .= ; return($boldedtext);//返回变量...
