in PHP by

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

A) Using the strpos function
B) Using the == operator
C) Using strcasecmp()
D) Using strcmp()

1 Answer

0 votes
by

Using strcmp()

...