Junior PHP Developer Question:

Download Job Interview Questions and Answers PDF

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

Junior PHP Developer Interview Question
Junior PHP Developer Interview Question

Answer:

The string function strstr(string allString, string occ) returns part of allString from the first occurrence of occ to the end of allString. This function is case-sensitive. stristr() is identical to strstr() except that it is case insensitive.

Download Junior PHP Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Tell me what is the difference between characters 34 and x34?Explain how we can retrieve the data in the result set of MySQL using PHP?