PHP stripos() Function

P
PHP stripslashes() Function
PHP stristr() Function

what is the syntax if the STRIPOS() function in php?

stripos(string,find,start)
ParameterDescription
stringRequired. Specifies the string to search
findRequired. Specifies the string to find
startOptional. Specifies where to begin the search
PHP STRIPOS() method

examples of the STRIPOS() function

Example 1. In this example, we find the position of the first occurrence of “php” inside the string.

<?php
echo stripos("I love php, I love php too!","PHP");
?>
PHP stripslashes() Function
PHP stristr() Function

Add comment

Tutor Network

Share this

Learn PHP from A to Z