Tell me what is the difference between the functions strstr() and stristr()?



Tell me what is the difference between the functions strstr() and stristr()?..

Answer / Ashutosh Jha

The main difference between `strstr()` and `stristr()` is that `strstr()` is case-sensitive when searching for the substring, while `stristr()` is case-insensitive.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

Where php basically used?

1 Answers  


What is php rest api?

1 Answers  


What is .htaccessfile and use of this file

5 Answers  


how to register website in internet

2 Answers  


How to delete a file from the system?

1 Answers  


What is PECL?

1 Answers  


How to get the number of characters in a string?

1 Answers  


how can I use bread crumb in PHP ?

2 Answers  


How can we destroy the session, how can we unset the variable of a session?

3 Answers  


Can the value of a constant change during the script's execution?

1 Answers  


Difference between mysql_connect and mysql_pconnect?

1 Answers  


What are regular expressions in programming?

1 Answers  


Categories