3v4l.org

run code in 300+ PHP versions simultaneously
<?php $gamename = array("Name One", "Name Two", "Name Three"); $releasenumbers = array("1001", "1002", "1003"); $merged = array_combine($releasenumbers,$gamename); if( isset($merged[1003])) echo $merged[1003]; else "Not found!";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 12
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
filename:       /in/nL2e9
function name:  (null)
number of ops:  13
compiled vars:  !0 = $gamename, !1 = $releasenumbers, !2 = $merged
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, <array>
    5     2        INIT_FCALL                                               'array_combine'
          3        SEND_VAR                                                 !1
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $5      
          6        ASSIGN                                                   !2, $5
    6     7        ISSET_ISEMPTY_DIM_OBJ                         0          !2, 1003
          8      > JMPZ                                                     ~7, ->12
          9    >   FETCH_DIM_R                                      ~8      !2, 1003
         10        ECHO                                                     ~8
         11      > JMP                                                      ->12
    7    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.1 ms | 1385 KiB | 15 Q