3v4l.org

run code in 500+ PHP versions simultaneously
<?php $a = array ( 0 => '1421' , 1 => '2241' ); $b = array ( 0 => 'teststring1' , 1 => 'teststring2' ); $c = array ( 0 => 'teststring3' , 1 => 'teststring4' ); $d = array ( 0 => 'teststring5' , 1 => 'teststring6' ); var_export(array_combine($a, array_map(null, $b, $c, $d)));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qSLfb
function name:  (null)
number of ops:  18
compiled vars:  !0 = $a, !1 = $b, !2 = $c, !3 = $d
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, <array>
    3     1        ASSIGN                                                       !1, <array>
    4     2        ASSIGN                                                       !2, <array>
    5     3        ASSIGN                                                       !3, <array>
    7     4        INIT_FCALL                                                   'var_export'
          5        INIT_FCALL                                                   'array_combine'
          6        SEND_VAR                                                     !0
          7        INIT_FCALL                                                   'array_map'
          8        SEND_VAL                                                     null
          9        SEND_VAR                                                     !1
         10        SEND_VAR                                                     !2
         11        SEND_VAR                                                     !3
         12        DO_ICALL                                             $8      
         13        SEND_VAR                                                     $8
         14        DO_ICALL                                             $9      
         15        SEND_VAR                                                     $9
         16        DO_ICALL                                                     
         17      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
162.44 ms | 3406 KiB | 16 Q