★ wanayoo — archive 1999 http://il.php.net/manual/function.strcmp.php3Nouvelle recherche | Portail wanayoo

PHP3 Home Page

Manual Table of Contents
Up to Strings
Quick Reference
Strings
* AddSlashes
* bin2hex
* Chop
* Chr
* chunk_split
* convert_cyr_string
* crypt
* echo
* explode
* flush
* get_meta_tags
* htmlspecialchars
* htmlentities
* implode
* join
* ltrim
* md5
* nl2br
* Ord
* parse_str
* print
* printf
* quoted_printable_decode
* QuoteMeta
* rawurldecode
* rawurlencode
* setlocale
* similar_text
* soundex
* sprintf
* strchr
* strcmp
* strcspn
* strip_tags
* StripSlashes
* strlen
* strrpos
* strpos
* strrchr
* strrev
* strspn
* strstr
* strtok
* strtolower
* strtoupper
* str_replace
* strtr
* substr
* trim
* ucfirst
* ucwords
Manual: strcmp
View the source code for this pageSearch the site



Previous page
 strchr
strcspn 
Next page


strcmp

strcmp -- binary safe string comparison

Description

int strcmp(string str1, string str2);

Returns < 0 if str1 is less than str2; > 0 if str1 is greater than str2, and 0 if they are equal.

Note that this comparison is case sensitive.

See also ereg(), substr(), and strstr().


 About Notes


Previous page
 strchr
strcspn 
Next page





Who's responsible for this?
Top of this page

Site
Hosting:



Located in
Israel
Some elements of this website are subject to copyright.