3v4l.org

run code in 300+ PHP versions simultaneously
<?php $extra = []; $a['login'] = '1234sflfkjasdf'; $a['vterm_id'] = 'VKGolosa'; $extra['social_auth'][] = $a; 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/EUTdk
function name:  (null)
number of ops:  15
compiled vars:  !0 = $extra, !1 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN_DIM                                               !1, 'login'
          2        OP_DATA                                                  '1234sflfkjasdf'
    5     3        ASSIGN_DIM                                               !1, 'vterm_id'
          4        OP_DATA                                                  'VKGolosa'
    6     5        FETCH_DIM_W                                      $5      !0, 'social_auth'
          6        ASSIGN_DIM                                               $5
          7        OP_DATA                                                  !1
    9     8        INIT_FCALL                                               'json_encode'
          9        INIT_ARRAY                                       ~7      !0, 'extra'
         10        SEND_VAL                                                 ~7
         11        SEND_VAL                                                 256
         12        DO_ICALL                                         $8      
         13        ECHO                                                     $8
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.39 ms | 1394 KiB | 15 Q