[php-src] Issue #11210: filter_var fails with option FILTER_VALIDATE_EMAIL

From: Date: Mon, 08 May 2023 19:42:23 +0000
Subject: [php-src] Issue #11210: filter_var fails with option FILTER_VALIDATE_EMAIL
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-244404@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/11210 Author: SpartanRK117 ### Description The following code: ``` $courriel = "xxxxyyyyyyyyy@gmail.com"; var_dump(filter_var($courriel,FILTER_VALIDATE_EMAIL)); ``` Resulted in this output: bool(false) But I expected this output instead: string(23) xxxxyyyyyyyyy@gmail.com ### PHP Version PHP 8.2.5 ### Operating System Slackware 15.0 current

« previous php.bugs (#244404) next »