正则表达式美元符号是怎样用的
$是做什么用的
===============================
if (!preg_match('/^\w+$/i', $user['name'])) {
die('用户名不合法');
}
======================
$是做什么用的
===============================
if (!preg_match('/^\w+$/i', $user['name'])) {
die('用户名不合法');
}
======================
2017-01-01
举报