3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $matches = null; $returnValue = preg_match('/[<>"//]/', 'meta http-equiv="refresh" content="0; url=http://orba.pl/" />', $matches); var_dump($returnValue, $matches);
based on XUg2n
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.3.0beta1
Warning: preg_match(): Unknown modifier '/' in /in/au952 on line 4 bool(false) NULL
Output for hhvm-3.22.0
Warning: Unknown modifier '/': [/[<>"//]/] in /in/au952 on line -1 bool(false) NULL
Output for hhvm-3.18.5 - 3.21.3
Warning: Unknown modifier '/': [/[<>"//]/] in /in/au952 on line 4 bool(false) NULL