3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "abc(xxx@email.com);cde(ggg@gmail.com)"; Preg_match_all('/(\w+)\((.*?)\)/', $str, $match); //Var_dump($match); $emails = array_combine($match[1], $match[2]); Var_dump($emails);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/06Z12
function name:  (null)
number of ops:  17
compiled vars:  !0 = $str, !1 = $match, !2 = $emails
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'abc%28xxx%40email.com%29%3Bcde%28ggg%40gmail.com%29'
    5     1        INIT_FCALL                                               'preg_match_all'
          2        SEND_VAL                                                 '%2F%28%5Cw%2B%29%5C%28%28.%2A%3F%29%5C%29%2F'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
    9     6        INIT_FCALL                                               'array_combine'
          7        FETCH_DIM_R                                      ~5      !1, 1
          8        SEND_VAL                                                 ~5
          9        FETCH_DIM_R                                      ~6      !1, 2
         10        SEND_VAL                                                 ~6
         11        DO_ICALL                                         $7      
         12        ASSIGN                                                   !2, $7
   11    13        INIT_FCALL                                               'var_dump'
         14        SEND_VAR                                                 !2
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
197.26 ms | 1394 KiB | 19 Q