3v4l.org

run code in 300+ PHP versions simultaneously
<?php $txt="Fatti&Storie 5 - Lorem ipsum dolor [12] sit amet [nid:598525855]"; $re1=".*?"; $re2="(\\[)"; $re3="((?:[a-z][a-z0-9_]*))"; $re4="(:)"; $re5='(\\d+)'; if ($c=preg_match_all ("/".$re1.$re2.$re3.$re4.$re5."/is", $txt, $matches)) { $c1=$matches[1][0]; $var1=$matches[2][0]; $c2=$matches[3][0]; $int1=$matches[4][0]; print "($c1) ($var1) ($c2) ($int1)\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
([) (nid) (:) (598525855)

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:
42.84 ms | 401 KiB | 8 Q