简单教程
提交运行
代码编辑器:
<?php echo substr_count("Hello world. The world is nice","world");
运行结果: