3v4l.org

run code in 500+ PHP versions simultaneously
<?php $map = []; array_push($map, ' ', ...range("a", "z")); echo strtr('abcde 5', array_flip($map));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rIrEq
function name:  (null)
number of ops:  17
compiled vars:  !0 = $map
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
    4     1        INIT_FCALL                                                   'array_push'
          2        SEND_REF                                                     !0
          3        SEND_VAL                                                     '+'
          4        INIT_FCALL                                                   'range'
          5        SEND_VAL                                                     'a'
          6        SEND_VAL                                                     'z'
          7        DO_ICALL                                             $2      
          8        SEND_UNPACK                                                  $2
          9        CHECK_UNDEF_ARGS                                             
         10        DO_ICALL                                                     
    5    11        INIT_FCALL                                                   'array_flip'
         12        SEND_VAR                                                     !0
         13        DO_ICALL                                             $4      
         14        FRAMELESS_ICALL_2                strtr               ~5      'abcde+5', $4
         15        ECHO                                                         ~5
         16      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
159.13 ms | 1852 KiB | 16 Q