|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2017-01-17 07:18 UTC] alexv1rs at gmail dot com
Description: ------------ --- From manual page: http://www.php.net/filter.examples.validation --- If we want to check email address like "11111/xxxx@yyyy.ru" - it's will be true. From 5.6 to 7.1 Test script: --------------- if (filter_var('11111/xxxx@yyyy.zz', FILTER_VALIDATE_EMAIL)) { echo 'true'; } PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 03 00:00:01 2025 UTC |
Forward slashes are actually allowed in the username portion of an email address, as are other uncommonly used symbols like # ? { }.