3v4l.org

run code in 300+ PHP versions simultaneously
<?php header('Content-Type: text/plain'); $str="Şef"; for($i = 0; $i < strlen($str); $i++) echo $str[$i] . "\n";
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 = 13, Position 2 = 6
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 6
Branch analysis from position: 13
Branch analysis from position: 6
filename:       /in/pRIlj
function name:  (null)
number of ops:  14
compiled vars:  !0 = $str, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'header'
          1        SEND_VAL                                                 'Content-Type%3A+text%2Fplain'
          2        DO_ICALL                                                 
    5     3        ASSIGN                                                   !0, '%C5%9Eef'
    9     4        ASSIGN                                                   !1, 0
          5      > JMP                                                      ->10
   10     6    >   FETCH_DIM_R                                      ~5      !0, !1
          7        CONCAT                                           ~6      ~5, '%0A'
          8        ECHO                                                     ~6
    9     9        PRE_INC                                                  !1
         10    >   STRLEN                                           ~8      !0
         11        IS_SMALLER                                               !1, ~8
         12      > JMPNZ                                                    ~9, ->6
   10    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.77 ms | 1394 KiB | 15 Q