| Manuál PHP | ||
|---|---|---|
| Předcházející | Další | |
strcmp
Popis
int strcmp ( string str1, string str2 )
Pokud je str1 méně než str2,
vrací < 0; pokud je str1 větší než
str2, vrací > 0, a 0, pokud jsou stejné.
Pozn.: toto srovnání je case-sensitive.
Viz také: ereg(), strcasecmp(), substr(), stristr(), strncasecmp(), strncmp() a strstr().