Find the position of the first occurrence of "php" inside the string:
<?php
echo strpos("I love php, I love php too!","php");
?>
by გიორგი ბაკაშვილი
4 years ago
PHP
String
PHP official doc
1
Pro tip: use ```triple backticks around text``` to write in code fences