php简单判断两个字符串是否相等的方法

本文实例讲述了php简单判断两个字符串是否相等的方法。分享给大家供大家参考。具体实现方法如下: <?php function strcomp($str1,$str2){  if($str1 == $str2){    return TRUE;  }else{    return FALSE;  } }

猜你喜欢

转载自blog.csdn.net/benli8541/article/details/112975603