3v4l.org

run code in 300+ PHP versions simultaneously
<?php $email = 'a@g.c'; if (!preg_match('/^[^@]{1,64}@[^@]{4,255}$/', $email)) { echo 'false'; } else { echo 'true'; }

preferences:
52.73 ms | 402 KiB | 5 Q