3v4l.org

run code in 300+ PHP versions simultaneously
<?php $body = 'List-Unsubscribe: <http://a.mydomain.com/u/1/100/23/f0fd224f822a5af1498fa326d201c8c4/>'; $getCampListEmailid =preg_match("/^List-Unsubscribe: <http:\/\/a.mydomain.com\/u\/([0-9]+)[\/]([0-9]+)[\/]([0-9]+)[\/][a-f0-9]{32}[\/>]/",$body,$match); var_dump($getCampListEmailid); var_dump($match[1]); var_dump($match[2]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PS3ih
function name:  (null)
number of ops:  19
compiled vars:  !0 = $body, !1 = $getCampListEmailid, !2 = $match
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'List-Unsubscribe%3A+%3Chttp%3A%2F%2Fa.mydomain.com%2Fu%2F1%2F100%2F23%2Ff0fd224f822a5af1498fa326d201c8c4%2F%3E'
    5     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2F%5EList-Unsubscribe%3A+%3Chttp%3A%5C%2F%5C%2Fa.mydomain.com%5C%2Fu%5C%2F%28%5B0-9%5D%2B%29%5B%5C%2F%5D%28%5B0-9%5D%2B%29%5B%5C%2F%5D%28%5B0-9%5D%2B%29%5B%5C%2F%5D%5Ba-f0-9%5D%7B32%7D%5B%5C%2F%3E%5D%2F'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !2
          5        DO_ICALL                                         $4      
          6        ASSIGN                                                   !1, $4
    7     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                                 
    8    10        INIT_FCALL                                               'var_dump'
         11        FETCH_DIM_R                                      ~7      !2, 1
         12        SEND_VAL                                                 ~7
         13        DO_ICALL                                                 
    9    14        INIT_FCALL                                               'var_dump'
         15        FETCH_DIM_R                                      ~9      !2, 2
         16        SEND_VAL                                                 ~9
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.22 ms | 1386 KiB | 17 Q