3v4l.org

run code in 300+ 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:  20
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                                               'strtr'
         12        SEND_VAL                                                 'abcde+5'
         13        INIT_FCALL                                               'array_flip'
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                         $4      
         16        SEND_VAR                                                 $4
         17        DO_ICALL                                         $5      
         18        ECHO                                                     $5
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
255.22 ms | 1007 KiB | 17 Q