3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = strrev('pɹoʍssɐd'); for ($i = 0; strlen($str); $i++) echo chr($str[i]); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 6
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 6
Branch analysis from position: 15
Branch analysis from position: 6
filename:       /in/EkTuG
function name:  (null)
number of ops:  16
compiled vars:  !0 = $str, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'strrev'
          1        SEND_VAL                                                 'p%C9%B9o%CA%8Dss%C9%90d'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    3     4        ASSIGN                                                   !1, 0
          5      > JMP                                                      ->13
    4     6    >   INIT_FCALL                                               'chr'
          7        FETCH_CONSTANT                                   ~5      'i'
          8        FETCH_DIM_R                                      ~6      !0, ~5
          9        SEND_VAL                                                 ~6
         10        DO_ICALL                                         $7      
         11        ECHO                                                     $7
    3    12        PRE_INC                                                  !1
         13    >   STRLEN                                           ~9      !0
         14      > JMPNZ                                                    ~9, ->6
    5    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.07 ms | 1386 KiB | 17 Q