3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $input = "michael@test.com dave@cheese.mansions milkman@serverdouche.co.uk"; $email = preg_split("([-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+\.[a-zA-Z]+/", $input); var_dump($email);
based on FHl8h
Output for 4.3.11 - 5.6.28, 7.0.0 - 7.1.0
Warning: preg_split(): No ending matching delimiter ')' found in /in/bI2QY on line 6 bool(false)
Output for hhvm-3.12.0
Warning: No ending matching delimiter ')' found: [([-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+\.[a-zA-Z]+/] in /in/bI2QY on line 6 bool(false)
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.0 - 4.3.10
Warning: No ending matching delimiter ')' found in /in/bI2QY on line 6 bool(false)