实例
<?php $a = 'acjd'; echo strlen($a); $b =['a','b','v','d']; echo '<hr color="red">'; $c = implode('**',$b); echo $c ; $gg ='explode'; echo '<hr color="green">'; $gh = str_split($gg,2); print_r($gh ); echo '<hr color="yellow">'; echo strpos('www.baidu.com','baidu'); echo "<hr color='black'>"; echo str_replace("baidu","taobao","www.baidu.com"); ?>
运行实例 »
点击 "运行实例" 按钮查看在线实例