3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = 'BUTTONSOURCE[18]=AngellEYE_PHPClass&VERBOSITY[4]=HIGH&USER[6]=tester'; preg_match_all('/([^=&]+)\=([^=&]+)/', $data, $result); $result = array_combine($result[1], $result[2]); var_dump($result);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/e2ult
function name:  (null)
number of ops:  17
compiled vars:  !0 = $data, !1 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'BUTTONSOURCE%5B18%5D%3DAngellEYE_PHPClass%26VERBOSITY%5B4%5D%3DHIGH%26USER%5B6%5D%3Dtester'
    3     1        INIT_FCALL                                               'preg_match_all'
          2        SEND_VAL                                                 '%2F%28%5B%5E%3D%26%5D%2B%29%5C%3D%28%5B%5E%3D%26%5D%2B%29%2F'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
    4     6        INIT_FCALL                                               'array_combine'
          7        FETCH_DIM_R                                      ~4      !1, 1
          8        SEND_VAL                                                 ~4
          9        FETCH_DIM_R                                      ~5      !1, 2
         10        SEND_VAL                                                 ~5
         11        DO_ICALL                                         $6      
         12        ASSIGN                                                   !1, $6
    6    13        INIT_FCALL                                               'var_dump'
         14        SEND_VAR                                                 !1
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.55 ms | 1410 KiB | 19 Q