☰
GkSeries.com
✕
Current Affairs Quiz 2025
GK
Courses
Aptitude
Banking
English
UGC NET
Home
/
Computer Engineering
/
Which function is used to compare strings as strings in PHP ?
Q.
Which function is used to compare strings as strings in PHP ?
[A] startswith()
[B] strcmp()
[C] compare()
[D] compareTo()
Answer & Explanation
Option: [B]
To compare strings as strings in PHP strcmp() is used.
← Go To First Question
Next Question →
Click Here to Read more questions