<?php
$email = "demo@example.com";
if (filter_var($email, FILTER_VALIDATE_EMAIL))
{
echo '"' . $email . '" 是有效的。';
}
else
{
echo '"
$email = "demo@example.com";
if (filter_var($email, FILTER_VALIDATE_EMAIL))
{
echo '"' . $email . '" 是有效的。';
}
else
{
echo '"
更新时间:2023-10-05
阅读( 11 )
编辑:佚名