mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
#66063 Make output from first filter example consistent with other filter examples
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332088 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
e30aeef1f5
commit
e48b67c078
1 changed files with 2 additions and 2 deletions
|
@ -16,10 +16,10 @@ $email_a = 'joe@example.com';
|
|||
$email_b = 'bogus';
|
||||
|
||||
if (filter_var($email_a, FILTER_VALIDATE_EMAIL)) {
|
||||
echo "This ($email_a) email address is considered valid.";
|
||||
echo "This (email_a) email address is considered valid.";
|
||||
}
|
||||
if (filter_var($email_b, FILTER_VALIDATE_EMAIL)) {
|
||||
echo "This ($email_b) email address is considered valid.";
|
||||
echo "This (email_b) email address is considered valid.";
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
|
|
Loading…
Reference in a new issue