3v4l.org

run code in 300+ PHP versions simultaneously
<?php $txt='"<optgroup label=" Gare du Nord - Gare de l\'Est - 10e"></optgroup><option data-max-adults="3" value="TIMHOTELGEst" selected>&#9473; Timhotel Paris Gare de l\'Est / 3*"'; $re1='.*?'; # Non-greedy match on filler if ($c=preg_match_all ("/".$re1."/is", $txt, $matches)) { $word1=$matches[1][0]; print "($word1) \n"; }
Output for git.master, git.master_jit
Warning: Undefined array key 1 in /in/aLDhJ on line 9 Warning: Trying to access array offset on value of type null in /in/aLDhJ on line 9 ()
Output for rfc.property-hooks
Warning: Undefined array key 1 in /in/aLDhJ on line 9 Warning: Trying to access array offset on null in /in/aLDhJ on line 9 ()

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