3v4l.org

run code in 300+ PHP versions simultaneously
<?php $links = [ 'http://www.arrivo.ru/tury.html', 'http://www.arrivo.ru/tury/ispaniya.html', 'http://arrivo.ru/tury.html', 'http://arrivo.ru/tury/ispaniya.html', '/tury.html', '/tury/ispaniya.html', ]; foreach ( $links as $link ) { if ( preg_match('|^((http:|https:)?//(.+\.)?(arrivo\.ru|tez-tour\.com)|/[^/])(?!.*tury)?.*$|', $link) ) { echo $link."\r\n"; } }
Output for git.master, git.master_jit, rfc.property-hooks
Warning: preg_match(): Unknown modifier 'h' in /in/4ggfZ on line 13 Warning: preg_match(): Unknown modifier 'h' in /in/4ggfZ on line 13 Warning: preg_match(): Unknown modifier 'h' in /in/4ggfZ on line 13 Warning: preg_match(): Unknown modifier 'h' in /in/4ggfZ on line 13 Warning: preg_match(): Unknown modifier 'h' in /in/4ggfZ on line 13 Warning: preg_match(): Unknown modifier 'h' in /in/4ggfZ on line 13

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:
36.91 ms | 402 KiB | 8 Q