Programming Languages PHP Objective
Mar 15, 2013

What is the best all-purpose way of comparing two strings?

Choose the correct answer:
A) Using the strpos function
B) Using the == operator
C) Using strcasecmp()
D) Using strcmp()
Detailed Explanation

Option D is the right answer

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback