0 votes
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()

Related questions

0 votes
asked Jun 23, 2019 in PHP by SakshiSharma
0 votes
asked Jun 4, 2020 in PHP by Robindeniel
0 votes
0 votes
asked Mar 19, 2020 in PHP by DavidAnderson
...