3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if(function_exists('filter_var')) { $check = filter_var('info@lindsey-dominique.be', FILTER_VALIDATE_EMAIL); } else { $check = preg_match('/^(?:[\w\!\#\$\%\&\'\*\+\-\/\=\?\^\`\{\|\}\~]+\.)*[\w\!\#\$\%\&\'\*\+\-\/\=\?\^\`\{\|\}\~]+@(?:(?:(?:[a-zA-Z0-9_](?:[a-zA-Z0-9_\-](?!\.)){0,61}[a-zA-Z0-9_-]?\.)+[a-zA-Z0-9_](?:[a-zA-Z0-9_\-](?!$)){0,61}[a-zA-Z0-9_]?)|(?:\[(?:(?:[01]?\d{1,2}|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d{1,2}|2[0-4]\d|25[0-5])\]))$/', 'info@lindsey-dominique.be'); var_dump($check);
Output for 5.4.0 - 5.4.18
Parse error: syntax error, unexpected end of file in /in/Zt45E on line 6
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected $end in /in/Zt45E on line 6
Process exited with code 255.