3v4l.org

run code in 500+ PHP versions simultaneously
<?php $arr=array(); $arr[0]['id']='123'; $arr[0]['otherdatas']=''; $arr[1]['id']='234'; $arr[1]['otherdatas']=''; $arr[2]['id']='567'; echo implode(',',array_column($arr,'id'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rLCS7
function name:  (null)
number of ops:  23
compiled vars:  !0 = $arr
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, <array>
    3     1        FETCH_DIM_W                                          $2      !0, 0
          2        ASSIGN_DIM                                                   $2, 'id'
          3        OP_DATA                                                      '123'
    4     4        FETCH_DIM_W                                          $4      !0, 0
          5        ASSIGN_DIM                                                   $4, 'otherdatas'
          6        OP_DATA                                                      ''
    5     7        FETCH_DIM_W                                          $6      !0, 1
          8        ASSIGN_DIM                                                   $6, 'id'
          9        OP_DATA                                                      '234'
    6    10        FETCH_DIM_W                                          $8      !0, 1
         11        ASSIGN_DIM                                                   $8, 'otherdatas'
         12        OP_DATA                                                      ''
    7    13        FETCH_DIM_W                                          $10     !0, 2
         14        ASSIGN_DIM                                                   $10, 'id'
         15        OP_DATA                                                      '567'
    9    16        INIT_FCALL                                                   'array_column'
         17        SEND_VAR                                                     !0
         18        SEND_VAL                                                     'id'
         19        DO_ICALL                                             $12     
         20        FRAMELESS_ICALL_2                implode             ~13     '%2C', $12
         21        ECHO                                                         ~13
         22      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
169.3 ms | 2581 KiB | 14 Q