说我有两个字符串
$string1 = "Hello my name is Steve and this is spam"; $string2 = "Hello my name is Steven and this comment is spam";
这两个字符串是相似的.
有没有办法比较这些,如if ($string1 like $string2)在PHP?
if ($string1 like $string2)
php validation
php ×1
validation ×1