3v4l.org

run code in 300+ PHP versions simultaneously
<?php $markup = ' <div id="outer"> <ul id="ancTop"> <li style="font-family: arial; font-size: 9pt;"> <div style="overflow: hidden; width: 690px; height: 17px;"> &nbsp;                   <a href="#">                    A90&nbsp;-&nbsp;Lorem Ipsum                   </a>                 </div>               </li>               <li style="font-family: arial; font-size: 9pt;">                 <div style="overflow: hidden; width: 690px; height: 17px;">                   &nbsp;                   <a href="#">                    A85&nbsp;-&nbsp; Lorem Ipsum                   </a>                 </div>               </li> </ul> </div>'; preg_match( "#<ul.*?\">(.*?)</ul>#sg", $markup, $matches ); echo ($matches[0]);
Output for git.master, git.master_jit
Warning: preg_match(): Unknown modifier 'g' in /in/Cv7Qa on line 23 Warning: Trying to access array offset on value of type null in /in/Cv7Qa on line 24
Output for rfc.property-hooks
Warning: preg_match(): Unknown modifier 'g' in /in/Cv7Qa on line 23 Warning: Trying to access array offset on null in /in/Cv7Qa on line 24

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