3v4l.org

run code in 300+ PHP versions simultaneously
<?php $links = [ 'http://www.arrivo.ru/tury.html', 'http://www.arrivo.ru/tury/ispaniya.html', 'https://www.arrivo.ru/tury.html', 'https://www.arrivo.ru/tury/ispaniya.html', '//www.arrivo.ru/tury.html', '//www.arrivo.ru/tury/ispaniya.html', 'http://arrivo.ru/tury.html', 'http://arrivo.ru/tury/ispaniya.html', '/tury.html', '/tury/ispaniya.html', '/advert.html', '/qwerty.html', ]; foreach ( $links as $link ) { if ( preg_match('#^((http:|https:)?//(www\.)?arrivo\.ru|/)(?!.*tury)(?!.*about)(?!.*advert)(?!.*vietnam)(?!.*indoneziya)(?!.*marokko)(?!.*seiyshelskie-ostrova)(?!.*oae)(?!.*angliya)(?!.*germaniya)(?!.*malta)(?!.*niderlandy)(?!.*shveiytsariya)(?!.*ssha)(?!.*barbados)(?!.*yamaiyka)(?!.*avstraliya).*$#', $link) ) { echo $link."\r\n"; } }
Output for git.master, git.master_jit, rfc.property-hooks
/qwerty.html

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
50.78 ms | 401 KiB | 8 Q