3v4l.org

run code in 500+ PHP versions simultaneously
<?php $array = [ 0 => [ "Contact Info" => 75 ], 1 => [ "Contact Info" => 76 ], 2 => [ "Contact Info" => 77 ], 3 => [ "Contact Info" => 78 ], 4 => [ "Contact Info" => 79 ], 12 => [ "Contact Info" => 596 ], 13 => [ "Contact Info" => 597 ], 14 => [ "Contact Info" => 593 ], 15 => [ "Contact Info" => 595 ], 16 => [ "Contact Info" => 588 ], 17 => [ "Contact Info" => 594 ], 18 => [ "Contact Info" => 591 ], 19 => [ "Contact Info" => 592 ], 20 => [ "Contact Info" => 626 ], 21 => [ "Contact Info" => 590 ], 22 => [ "Address Info" => 85 ], 23 => [ "Address Info" => 86 ], 24 => [ "Address Info" => 87 ], ]; $finalAray = ['contact Info'=> array_column($array,'Contact Info'),'Address Info'=> array_column($array,'Address Info')]; print_r($finalAray);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dqOk0
function name:  (null)
number of ops:  16
compiled vars:  !0 = $array, !1 = $finalAray
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
   62     1        INIT_FCALL                                                   'array_column'
          2        SEND_VAR                                                     !0
          3        SEND_VAL                                                     'Contact+Info'
          4        DO_ICALL                                             $3      
          5        INIT_ARRAY                                           ~4      $3, 'contact+Info'
          6        INIT_FCALL                                                   'array_column'
          7        SEND_VAR                                                     !0
          8        SEND_VAL                                                     'Address+Info'
          9        DO_ICALL                                             $5      
         10        ADD_ARRAY_ELEMENT                                    ~4      $5, 'Address+Info'
         11        ASSIGN                                                       !1, ~4
   64    12        INIT_FCALL                                                   'print_r'
         13        SEND_VAR                                                     !1
         14        DO_ICALL                                                     
         15      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
160.16 ms | 1843 KiB | 15 Q