主页
PHP
PHP strcasecmp() 函数
tryphp_func_string_strcasecmp3
运行 ❯
×
更改方向
保存代码
更改主题
<?php echo strcasecmp("Hello world!","HELLO WORLD!")."
"; // The two strings are equal echo strcasecmp("Hello world!","HELLO")."
"; // String1 is greater than string2 echo strcasecmp("Hello world!","HELLO WORLD! HELLO!")."
"; // String1 is less than string2 ?>