3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $markup = ' <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>'; preg_match( '/<ul>(.*?)</ul>/s', $markup, $matches ); print_r($matches);
Output for 5.2.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: preg_match(): Unknown modifier 'l' in /in/m6KU8 on line 21
Output for hhvm-3.10.0 - 3.12.0
Warning: Unknown modifier 'l': [/<ul>(.*?)</ul>/s] in /in/m6KU8 on line 21
Output for 4.3.11 - 5.1.6
Warning: preg_match(): Unknown modifier 'l' in /in/m6KU8 on line 21 Array ( )
Output for 4.3.0 - 4.3.10
Warning: Unknown modifier 'l' in /in/m6KU8 on line 21 Array ( )