3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pattern = "(Yandex(?:(?:\\.Gazeta |Accessibility|Com|Mobile|MobileScreenShot|RenderResources|Screenshot|Sprav)?Bot|(?:AdNet|Antivirus|Blogs|Calendar|Catalog|Dialogs|Direct(?:Dyn)?|Favicons|ForDomain|ImageResizer|Images|Market|Media(?:naBot)?|Metrika|News(?:links)?|OntoDB(?:API)?|Pagechecker|Partner|RCA|SearchShop|(?:News|Site)links|Tracker|Turbo|Userproxy|Verticals|Vertis|Video(?:Parser)?|Webmaster))|YaDirectFetcher)"; preg_match_all('/Yandex(?:\\.Gazeta )?(?:[A-Z][a-z]+)*(?:Bot)?|YaDirectFetcher/', $pattern, $m); $bots = array_unique(array_filter($m[0])); sort($bots); print_r($bots); ?>
Output for git.master_jit, git.master
Array ( [0] => YaDirectFetcher [1] => Yandex )

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:
39.86 ms | 708 KiB | 4 Q