php substr_count example Example: substr_count php <?php echo substr_count("Hello world. The world is nice","world"); ?>