3v4l.org

run code in 500+ PHP versions simultaneously
<?php $alignments = [ 'top left', 'top right', ]; $switches = [ 'Switch Up', 'Switch Down', ]; $combined = [$alignments, $switches]; var_export(array_column($combined, 0)); var_export(array_column($combined, 1));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/msjJs
function name:  (null)
number of ops:  20
compiled vars:  !0 = $alignments, !1 = $switches, !2 = $combined
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
    8     1        ASSIGN                                                       !1, <array>
   13     2        INIT_ARRAY                                           ~5      !0
          3        ADD_ARRAY_ELEMENT                                    ~5      !1
          4        ASSIGN                                                       !2, ~5
   15     5        INIT_FCALL                                                   'var_export'
          6        INIT_FCALL                                                   'array_column'
          7        SEND_VAR                                                     !2
          8        SEND_VAL                                                     0
          9        DO_ICALL                                             $7      
         10        SEND_VAR                                                     $7
         11        DO_ICALL                                                     
   16    12        INIT_FCALL                                                   'var_export'
         13        INIT_FCALL                                                   'array_column'
         14        SEND_VAR                                                     !2
         15        SEND_VAL                                                     1
         16        DO_ICALL                                             $9      
         17        SEND_VAR                                                     $9
         18        DO_ICALL                                                     
         19      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
155.39 ms | 1766 KiB | 15 Q