3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $exp = '#^((http:|https:)?//(www\.)?arrivo\.ru|/[^/])(?!.*tury)(?!.*about)(?!.*advert)(?!.*vietnam)(?!.*indoneziya)(?!.*marokko)(?!.*seiyshelskie-ostrova)(?!.*oae)(?!.*angliya)(?!.*germaniya)(?!.*malta)(?!.*niderlandy)(?!.*shveiytsariya)(?!.*ssha)(?!.*barbados)(?!.*yamaiyka)(?!.*avstraliya).*$#'; var_dump(preg_match('http://arrivo.ru/tury/ispaniya.html', $exp));
Output for 4.3.11 - 7.2.0
Warning: preg_match(): Delimiter must not be alphanumeric or backslash in /in/vGgWp on line 5 bool(false)
Output for 4.3.0 - 4.3.10
Warning: Delimiter must not be alphanumeric or backslash in /in/vGgWp on line 5 bool(false)