3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'helloółe'; for ($i = 0, $count = mb_strlen($string); $i < $count; $i++) { echo $string[$i]; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 7
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 7
Branch analysis from position: 12
Branch analysis from position: 7
filename:       /in/5BUZK
function name:  (null)
number of ops:  13
compiled vars:  !0 = $string, !1 = $i, !2 = $count
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'hello%C3%B3%C5%82e'
    5     1        ASSIGN                                                   !1, 0
          2        INIT_FCALL                                               'mb_strlen'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $5      
          5        ASSIGN                                                   !2, $5
          6      > JMP                                                      ->10
    6     7    >   FETCH_DIM_R                                      ~7      !0, !1
          8        ECHO                                                     ~7
    5     9        PRE_INC                                                  !1
         10    >   IS_SMALLER                                               !1, !2
         11      > JMPNZ                                                    ~9, ->7
    7    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.38 ms | 1399 KiB | 15 Q