3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Using a negative number $array = array ( '0' => array ( 'name' => 'firt_name', 'value' => 'Robin' ) , '1' => array ( 'name' => 'last_name', 'value' => 'Singh' ) , '2' => array ( 'name' => 'email', 'value' => '123@gmail.com' ) , '3' => array ( 'name' => 'password', 'value' => '12345', ) , '4' => array ( 'name' => 'phone', 'value' => 'skdsjdkdjskd' ) , '5' => Array ( 'name' => 'city', 'value' => 'dskjdksjd' ) , '6' => Array ( 'name' => 'state', 'value' => 'kjksdjskdsk' ) ); print_r(array_combine(array_column($array, 'name'), array_column($array, 'value'))); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/boAOI
function name:  (null)
number of ops:  17
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   49     1        INIT_FCALL                                               'print_r'
          2        INIT_FCALL                                               'array_combine'
          3        INIT_FCALL                                               'array_column'
          4        SEND_VAR                                                 !0
          5        SEND_VAL                                                 'name'
          6        DO_ICALL                                         $2      
          7        SEND_VAR                                                 $2
          8        INIT_FCALL                                               'array_column'
          9        SEND_VAR                                                 !0
         10        SEND_VAL                                                 'value'
         11        DO_ICALL                                         $3      
         12        SEND_VAR                                                 $3
         13        DO_ICALL                                         $4      
         14        SEND_VAR                                                 $4
         15        DO_ICALL                                                 
   50    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
281.74 ms | 1011 KiB | 16 Q