3v4l.org

run code in 300+ PHP versions simultaneously
<?php $email = 'jesuis@tropun.ninja'; $autreemail = '"very.unusual.@.unusual.com"@example.com'; $encoreunpourlaroute = "#!$%&'*+-/=?^_`{}|~@example.org"; $pasemail = 'jesuistroppasunninja'; var_dump(filter_var($email, FILTER_VALIDATE_EMAIL)); var_dump(filter_var($autreemail, FILTER_VALIDATE_EMAIL)); var_dump(filter_var($encoreunpourlaroute, FILTER_VALIDATE_EMAIL)); var_dump(filter_var($pasemail, FILTER_VALIDATE_EMAIL));

preferences:
64.67 ms | 405 KiB | 5 Q