3v4l.org

run code in 300+ 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:  26
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                                               'implode'
         17        SEND_VAL                                                 '%2C'
         18        INIT_FCALL                                               'array_column'
         19        SEND_VAR                                                 !0
         20        SEND_VAL                                                 'id'
         21        DO_ICALL                                         $12     
         22        SEND_VAR                                                 $12
         23        DO_ICALL                                         $13     
         24        ECHO                                                     $13
         25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.64 ms | 998 KiB | 15 Q