Basic PHP Programming Question:

What is the functionality of the function strstr and stristr?

Tweet Share WhatsApp

Answer:

strstr() returns part of a given string from the first occurrence of a given substring to the end of the string. For example: strstr("user@example.com","@") will return "@example.com".
stristr() is idential to strstr() except that it is case insensitive.

Download PHP PDF Read All 139 PHP Questions
Previous QuestionNext Question
How can we send mail using JavaScript?What is the difference between ereg_replace() and eregi_replace()?