3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = 6; $list = [ '1楼', '2楼', '3楼', '4楼', '5楼', ]; $list = array_flip( array_map( array_flip($list), function($key){ return $start+(int)$key; } ) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gmOqO
function name:  (null)
number of ops:  15
compiled vars:  !0 = $start, !1 = $list
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 6
    4     1        ASSIGN                                                   !1, <array>
    7     2        INIT_FCALL                                               'array_flip'
    8     3        INIT_FCALL                                               'array_map'
    9     4        INIT_FCALL                                               'array_flip'
          5        SEND_VAR                                                 !1
          6        DO_ICALL                                         $4      
          7        SEND_VAR                                                 $4
   10     8        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FgmOqO%3A10%240'
          9        SEND_VAL                                                 ~5
         10        DO_ICALL                                         $6      
         11        SEND_VAR                                                 $6
         12        DO_ICALL                                         $7      
    7    13        ASSIGN                                                   !1, $7
   12    14      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FgmOqO%3A10%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gmOqO
function name:  {closure}
number of ops:  5
compiled vars:  !0 = $key, !1 = $start
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   RECV                                             !0      
          1        CAST                                          4  ~2      !0
          2        ADD                                              ~3      !1, ~2
          3      > RETURN                                                   ~3
          4*     > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FgmOqO%3A10%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
192.9 ms | 1395 KiB | 17 Q