$str?=?"LAMP";
$str1?=?"LAMPBrother";
$strc?=?strcmp($str,?$str1);
echo?$strc;上面的輸出值是-7;但是我看手冊是返回0 - 如果兩個字符串相等<0 - 如果?string1?小于?string2>0 - 如果?string1?大于?string2這個啊,求解釋,-7怎么出來的
phpstrcmp函數的小疑問
俠客島的含笑
2016-12-31 10:38:11