3v4l.org

run code in 300+ PHP versions simultaneously
<?php $extra = []; $extra['social_auth'] = []; $extra['social_auth'][]['login'] = '1234sflfkjasdf'; $extra['social_auth'][]['vterm_id'] = 'VKGolosa'; echo json_encode(['extra' => $extra], JSON_UNESCAPED_UNICODE);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TAkNJ
function name:  (null)
number of ops:  18
compiled vars:  !0 = $extra
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN_DIM                                               !0, 'social_auth'
          2        OP_DATA                                                  <array>
    5     3        FETCH_DIM_W                                      $3      !0, 'social_auth'
          4        FETCH_DIM_W                                      $4      $3
          5        ASSIGN_DIM                                               $4, 'login'
          6        OP_DATA                                                  '1234sflfkjasdf'
    6     7        FETCH_DIM_W                                      $6      !0, 'social_auth'
          8        FETCH_DIM_W                                      $7      $6
          9        ASSIGN_DIM                                               $7, 'vterm_id'
         10        OP_DATA                                                  'VKGolosa'
    9    11        INIT_FCALL                                               'json_encode'
         12        INIT_ARRAY                                       ~9      !0, 'extra'
         13        SEND_VAL                                                 ~9
         14        SEND_VAL                                                 256
         15        DO_ICALL                                         $10     
         16        ECHO                                                     $10
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.7 ms | 1399 KiB | 15 Q