3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '#TAGLIST_&lt;a href=&quot;search.php?tag={TAG}&quot;&gt;{TAG}&lt;/a&gt;&amp;nbsp;# &lt;br&gt;'; preg_match("/TAGLIST_&lt;a\s*href\s*=\s*&quot;(.*)&quot;&gt;/ims", $str, $matches); print_r($matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vW1vI
function name:  (null)
number of ops:  10
compiled vars:  !0 = $str, !1 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%23TAGLIST_%26lt%3Ba++++++href%3D%26quot%3Bsearch.php%3Ftag%3D%7BTAG%7D%26quot%3B%26gt%3B%7BTAG%7D%26lt%3B%2Fa%26gt%3B%26amp%3Bnbsp%3B%23+%26lt%3Bbr%26gt%3B'
    3     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2FTAGLIST_%26lt%3Ba%5Cs%2Ahref%5Cs%2A%3D%5Cs%2A%26quot%3B%28.%2A%29%26quot%3B%26gt%3B%2Fims'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
    5     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:
146.53 ms | 1394 KiB | 17 Q