3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/chNjn
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   19     0  E >   INIT_FCALL                                               'print_r'
          1        INIT_FCALL                                               'extractemails'
          2        SEND_VAL                                                 'contact%3Ccontact%40contact.com%3E%2C+contact1%3Ccontact1%40contact.com%3E'
          3        DO_FCALL                                      0  $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
          6      > RETURN                                                   1

Function extractemails:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 9
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/chNjn
function name:  extractEmails
number of ops:  22
compiled vars:  !0 = $contactString, !1 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   RECV                                             !0      
    8     1        INIT_FCALL                                               'preg_match_all'
          2        SEND_VAL                                                 '%2F%3C%28%3F%3Cemails%3E%5B%5E%3E%5D%2B%29%3E%2F'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                         $2      
          6        BOOL_NOT                                         ~3      $2
          7      > JMPZ                                                     ~3, ->9
    9     8    > > RETURN                                                   <array>
   12     9    >   INIT_FCALL                                               'array_filter'
         10        INIT_FCALL                                               'array_map'
         11        DECLARE_LAMBDA_FUNCTION                          ~4      [0]
   16    12        SEND_VAL                                                 ~4
         13        FETCH_DIM_R                                      ~5      !1, 'emails'
         14        SEND_VAL                                                 ~5
   12    15        DO_ICALL                                         $6      
   16    16        SEND_VAR                                                 $6
   12    17        DO_ICALL                                         $7      
   16    18        VERIFY_RETURN_TYPE                                       $7
         19      > RETURN                                                   $7
   17    20*       VERIFY_RETURN_TYPE                                       
         21*     > RETURN                                                   null


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 13
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/chNjn
function name:  {closure}
number of ops:  18
compiled vars:  !0 = $email, !1 = $sanitizedEmail
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   RECV                                             !0      
   13     1        INIT_FCALL                                               'filter_var'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 517
          4        DO_ICALL                                         $2      
          5        ASSIGN                                                   !1, $2
   15     6        INIT_FCALL                                               'filter_var'
          7        SEND_VAR                                                 !1
          8        SEND_VAL                                                 274
          9        DO_ICALL                                         $4      
         10      > JMPZ                                                     $4, ->13
         11    >   QM_ASSIGN                                        ~5      !1
         12      > JMP                                                      ->14
         13    >   QM_ASSIGN                                        ~5      null
         14    >   VERIFY_RETURN_TYPE                                       ~5
         15      > RETURN                                                   ~5
   16    16*       VERIFY_RETURN_TYPE                                       
         17*     > RETURN                                                   null

End of Dynamic Function 0

End of function extractemails

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
314.39 ms | 980 KiB | 19 Q