时间:2021-07-01 10:21:17 帮助过:4人阅读
<?php function strcomp($str1,$str2){ if($str1 == $str2){ return TRUE; }else{ return FALSE; } } echo strcomp("First string","Second string"); //Returns FALSE echo strcomp("A string","A string"); //Returns TRUE ?>
更多相关教程请访问 php编程从入门到精通全套视频教程