3v4l.org

run code in 300+ PHP versions simultaneously
<?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);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/m6KU8
function name:  (null)
number of ops:  10
compiled vars:  !0 = $markup, !1 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%0A%3Cul%C2%A0id%3D%22ancTop%22%3E%0A%3Cli%C2%A0style%3D%22font-family%3A+arial%3B+font-size%3A+9pt%3B%22%3E%0A%3Cdiv%C2%A0style%3D%22overflow%3A+hidden%3B+width%3A+690px%3B+height%3A+17px%3B%22%3E%0A%26nbsp%3B%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0%C2%A0%0A%3Ca%C2%A0href%3D%22%23%22%3E%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%0AA90%26nbsp%3B-%26nbsp%3BLorem+Ipsum%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0%C2%A0%0A%3C%2Fa%3E%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0%C2%A0%0A%3C%2Fdiv%3E%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0%C2%A0%0A%3C%2Fli%3E%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0%C2%A0%0A%3Cli%C2%A0style%3D%22font-family%3A+arial%3B+font-size%3A+9pt%3B%22%3E%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0%C2%A0%0A%3Cdiv%C2%A0style%3D%22overflow%3A+hidden%3B+width%3A+690px%3B+height%3A+17px%3B%22%3E%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0%C2%A0%0A%26nbsp%3B%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0%C2%A0%0A%3Ca%C2%A0href%3D%22%23%22%3E%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%0AA85%26nbsp%3B-%26nbsp%3B%C2%A0Lorem+Ipsum%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0%C2%A0%0A%3C%2Fa%3E%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0%C2%A0%0A%3C%2Fdiv%3E%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0+%C2%A0%C2%A0%0A%3C%2Fli%3E%0A%3C%2Ful%3E'
   21     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2F%3Cul%3E%28.%2A%3F%29%3C%2Ful%3E%2Fs'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
   23     6        INIT_FCALL                                               'print_r'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.17 ms | 1395 KiB | 17 Q