">
时间:2021-07-01 10:21:17 帮助过:28人阅读
输出函数echo() $str = "Hello World"; echo $str; ?>
'PHP',"1"=>array('0'=>'P', '1'=>'H', '2'=>'P')); print_r($arr); ?>
PHP100.COM"; echo htmlspecialchars($str); ?>
PHP + Apache + Mysql"; echo strip_tags($str); echo "
"; echo strip_tags($str, ""); echo "
"; echo strip_tags($str, ""); ?>
"; echo strlen(ltrim($str))."
"; echo strlen(rtrim($str))."
"; echo strlen(trim($str)); ?>
"; echo number_format($number,2); echo "
"; echo number_format($number,2,",","."); ?>
以上就介绍了PHP字符串处理函数示例学习笔记,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。