3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = "^(([a-zA-Z0-9!#$%&'*+\-/=?^_`{|}~]+)(\.[a-zA-Z0-9!#$%&'*+\-/=?^_`{|}~]+)*@([a-zA-Z0-9\-]+)(\.[a-zA-Z]*)?)$"; var_dump(preg_match($x, 'emiliaborrelli82@gmail.com'));
Output for 5.6.0 - 5.6.30, 7.1.0 - 7.3.0beta1
Warning: preg_match(): Unknown modifier '_' in /in/Foceo on line 5 bool(false)
Output for hhvm-3.22.0
Warning: Unknown modifier '_': [^(([a-zA-Z0-9!#$%&'*+\-/=?^_`{|}~]+)(\.[a-zA-Z0-9!#$%&'*+\-/=?^_`{|}~]+)*@([a-zA-Z0-9\-]+)(\.[a-zA-Z]*)?)$] in /in/Foceo on line -1 bool(false)
Output for hhvm-3.18.5 - 3.21.3
Warning: Unknown modifier '_': [^(([a-zA-Z0-9!#$%&'*+\-/=?^_`{|}~]+)(\.[a-zA-Z0-9!#$%&'*+\-/=?^_`{|}~]+)*@([a-zA-Z0-9\-]+)(\.[a-zA-Z]*)?)$] in /in/Foceo on line 5 bool(false)