3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string4="Featuring"; $pos="Featuring"; while(($pos = strpos($string, ',',$pos)) !== FALSE){ $count++; $pos++; // This ends } echo $count;

preferences:
38.73 ms | 402 KiB | 5 Q