3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = strrev('pɹoʍssɐd'); for ($i = 0; $i < strlen($str); $i++) echo chr($str[$i]); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
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/Hg5Ku
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                                                      ->12
    4     6    >   INIT_FCALL                                               'chr'
          7        FETCH_DIM_R                                      ~5      !0, !1
          8        SEND_VAL                                                 ~5
          9        DO_ICALL                                         $6      
         10        ECHO                                                     $6
    3    11        PRE_INC                                                  !1
         12    >   STRLEN                                           ~8      !0
         13        IS_SMALLER                                               !1, ~8
         14      > JMPNZ                                                    ~9, ->6
    5    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.96 ms | 1394 KiB | 17 Q