3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $subject = '"Joe Smith"<jsmith@example.com>, kjones@aol.com; someoneelse@nowhere.com, mjane@gmail.com'; preg_match_all('^(?:"?([^@"]+)"?\s)?<?([^>]+@[^>]+)>?$', $subject, $result, PREG_SET_ORDER); var_dump($result);
based on mmoE7
Output for 5.3.23 - 7.2.6
Warning: preg_match_all(): Unknown modifier '@' in /in/RMoIS on line 5 NULL