3v4l.org

run code in 300+ PHP versions simultaneously
<?php $txt ='<!-- [newsletter:123123] --> <html style="font-size:14px;font:inherit;vertical-align:baseline;font-family:Open Sans,sans-serif;height:100%;"> <head><meta http-eq'; preg_match('/\[newsletter:(\d*)?\]/', $txt, $matches); var_dump($matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/b4tRt
function name:  (null)
number of ops:  10
compiled vars:  !0 = $txt, !1 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%3C%21--+%5Bnewsletter%3A123123%5D+--%3E%0A%3Chtml+style%3D%22font-size%3A14px%3Bfont%3Ainherit%3Bvertical-align%3Abaseline%3Bfont-family%3AOpen+Sans%2Csans-serif%3Bheight%3A100%25%3B%22%3E%0A%3Chead%3E%3Cmeta+http-eq'
    6     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2F%5C%5Bnewsletter%3A%28%5Cd%2A%29%3F%5C%5D%2F'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
    7     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.8 ms | 1394 KiB | 17 Q