3v4l.org

run code in 500+ PHP versions simultaneously
<?php $strings = [ "https://www.instagram.com/p/BxKRx5CHn5i/", "https://www.instagram.com/p/BrODg5XHlE6/?utm_source=ig_share_sheet&igshid=znsinsart176", "https://www.instagram.com/p/BxKRx5CHn5i/", "https://www.instagram.com/username/p/BxE5PpZhoa9/", "https://www.instagram.com/username/p/BxE5PpZhoa9/#look=overhere" ]; foreach ($strings as $string) { echo preg_match('~(?:https?://)?(?:www\.)?instagram\.com(?:/[^/]+)*/\K\w+~', $string , $m) ? $m[0] : ''; echo " (from $string)\n"; }
Output for git.master, git.master_jit
/bin/php-git-master: error while loading shared libraries: libonig.so.5: cannot open shared object file: No such file or directory
Process exited with code 127.
Output for rfc.property-hooks
BxKRx5CHn5i (from https://www.instagram.com/p/BxKRx5CHn5i/) BrODg5XHlE6 (from https://www.instagram.com/p/BrODg5XHlE6/?utm_source=ig_share_sheet&igshid=znsinsart176) BxKRx5CHn5i (from https://www.instagram.com/p/BxKRx5CHn5i/) BxE5PpZhoa9 (from https://www.instagram.com/username/p/BxE5PpZhoa9/) BxE5PpZhoa9 (from https://www.instagram.com/username/p/BxE5PpZhoa9/#look=overhere)

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:
43.42 ms | 1774 KiB | 4 Q