3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.13 ms | 1394 KiB | 15 Q