是否可以在if语句中使用通配符?
我的代码:
* =通配符
*
if ($admin =='*@some.text.here') { }
$admin 将是以下之一:
$admin
php string wildcard
php ×1
string ×1
wildcard ×1