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/f58b7
function name:  (null)
number of ops:  16
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        ASSIGN_DIM                                               $3, 'login'
          5        OP_DATA                                                  '1234sflfkjasdf'
    6     6        FETCH_DIM_W                                      $5      !0, 'social_auth'
          7        ASSIGN_DIM                                               $5, 'vterm_id'
          8        OP_DATA                                                  'VKGolosa'
    9     9        INIT_FCALL                                               'json_encode'
         10        INIT_ARRAY                                       ~7      !0, 'extra'
         11        SEND_VAL                                                 ~7
         12        SEND_VAL                                                 256
         13        DO_ICALL                                         $8      
         14        ECHO                                                     $8
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.48 ms | 1385 KiB | 15 Q