3v4l.org

run code in 300+ PHP versions simultaneously
<?php print_t(preg_match('/^.*#([0-9]+)#$/', 'dfghdfghdfgh', $baseParentMessageId)); print_r($baseParentMessageId);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GNTrb
function name:  (null)
number of ops:  12
compiled vars:  !0 = $baseParentMessageId
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL_BY_NAME                                       'print_t'
          1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2F%5E.%2A%23%28%5B0-9%5D%2B%29%23%24%2F'
          3        SEND_VAL                                                 'dfghdfghdfgh'
          4        SEND_REF                                                 !0
          5        DO_ICALL                                         $1      
          6        SEND_VAR_NO_REF_EX                                       $1
          7        DO_FCALL                                      0          
    4     8        INIT_FCALL                                               'print_r'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.91 ms | 1394 KiB | 17 Q