3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = strrev('pɹoʍssɐd'); for ($i = 0; $i < mb_strlen($str); $i++) var_dump(chr($str[$i])); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 6
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 6
Branch analysis from position: 19
Branch analysis from position: 6
filename:       /in/v4haK
function name:  (null)
number of ops:  20
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                                                      ->14
    4     6    >   INIT_FCALL                                               'var_dump'
          7        INIT_FCALL                                               'chr'
          8        FETCH_DIM_R                                      ~5      !0, !1
          9        SEND_VAL                                                 ~5
         10        DO_ICALL                                         $6      
         11        SEND_VAR                                                 $6
         12        DO_ICALL                                                 
    3    13        PRE_INC                                                  !1
         14    >   INIT_FCALL                                               'mb_strlen'
         15        SEND_VAR                                                 !0
         16        DO_ICALL                                         $9      
         17        IS_SMALLER                                               !1, $9
         18      > JMPNZ                                                    ~10, ->6
    5    19    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.55 ms | 1395 KiB | 21 Q