3v4l.org

run code in 300+ PHP versions simultaneously
<?php define('WORD','abcde'); for($w=WORD;$_=$w[$i++];print(chr(ord($_)+13)));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 7
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 7
Branch analysis from position: 19
Branch analysis from position: 7
filename:       /in/LTJgF
function name:  (null)
number of ops:  20
compiled vars:  !0 = $w, !1 = $_, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 'WORD'
          2        SEND_VAL                                                 'abcde'
          3        DO_ICALL                                                 
    5     4        FETCH_CONSTANT                                   ~4      'WORD'
          5        ASSIGN                                                   !0, ~4
          6      > JMP                                                      ->15
          7    >   INIT_FCALL                                               'chr'
          8        INIT_FCALL                                               'ord'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                         $6      
         11        ADD                                              ~7      $6, 13
         12        SEND_VAL                                                 ~7
         13        DO_ICALL                                         $8      
         14        ECHO                                                     $8
         15    >   POST_INC                                         ~9      !2
         16        FETCH_DIM_R                                      ~10     !0, ~9
         17        ASSIGN                                           ~11     !1, ~10
         18      > JMPNZ                                                    ~11, ->7
         19    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.24 ms | 1395 KiB | 19 Q