PHP simply judges whether two strings are equal

The example in this article describes how PHP simply judges whether two strings are equal. Share with everyone for your reference. The specific implementation method is as follows: <?php function strcomp($str1,$str2){ if($str1 == $str2){ return TRUE; }else{ return FALSE;}}

Guess you like

Origin blog.csdn.net/benli8541/article/details/112975603