3v4l.org

run code in 300+ PHP versions simultaneously
<?php $myArray = [ "key0" => 0, "key1" => 1, "key2" => 2 ]; var_export( array_combine( array_keys($myArray), array_map('strval', $myArray) ) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/36r4j
function name:  (null)
number of ops:  16
compiled vars:  !0 = $myArray
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    9     1        INIT_FCALL                                               'var_export'
   10     2        INIT_FCALL                                               'array_combine'
   11     3        INIT_FCALL                                               'array_keys'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
   12     7        INIT_FCALL                                               'array_map'
          8        SEND_VAL                                                 'strval'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $3      
         11        SEND_VAR                                                 $3
         12        DO_ICALL                                         $4      
         13        SEND_VAR                                                 $4
         14        DO_ICALL                                                 
   14    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
36.24 ms | 418 KiB | 17 Q