Run ❯
Get your
own PHP
server
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Go to Spaces
Ctrl+Alt+P
"; // Using strlen() to return the string length echo substr_count($str,"is")."
"; // The number of times "is" occurs in the string echo substr_count($str,"is",2)."
"; // The string is now reduced to "is is nice" echo substr_count($str,"is",3)."
"; // The string is now reduced to "s is nice" echo substr_count($str,"is",3,3)."
"; // The string is now reduced to "s i" ?>
12
2
2
1
0