What is the functionality of the function strstr and stristr?

Answer Posted / umapathi

strstr-finds the first occurence of a string inside another
string (case-sensitive)
stristr-finds the first occurence of a string inside
another string (case-insensitive)

Is This Answer Correct ?    17 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to get the number of characters in a string?

567


What is the current php version?

550


How many records can be stored in mysql table?

550


What is the use of $_request variable?

576


How to remove values saved in the current session?

530






What are some new features introduced in php7?

8376


What is lazy loading in php?

505


Write an example to remove html tags from a string in php?

519


Where do I run php code?

524


What distinguishes php from something like client side java script?

533


What are the functions used in php?

505


What should be the length of variable for SHA256?

531


How is it possible to remove escape characters from a string?

570


How long does a php session last for?

561


How do I find out the number of parameters passed into function9?

538