3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str=mb_strtolower('İstanbul'); for ($i = 0; $i < strlen($str); $i++) echo $str[$i] . " => " . ord($str[$i]) . "\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
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/0TJmt
function name:  (null)
number of ops:  20
compiled vars:  !0 = $str, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'mb_strtolower'
          1        SEND_VAL                                                 '%C4%B0stanbul'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
          4        ASSIGN                                                   !1, 0
          5      > JMP                                                      ->16
          6    >   FETCH_DIM_R                                      ~5      !0, !1
          7        CONCAT                                           ~6      ~5, '+%3D%3E+'
          8        INIT_FCALL                                               'ord'
          9        FETCH_DIM_R                                      ~7      !0, !1
         10        SEND_VAL                                                 ~7
         11        DO_ICALL                                         $8      
         12        CONCAT                                           ~9      ~6, $8
         13        CONCAT                                           ~10     ~9, '%0A'
         14        ECHO                                                     ~10
         15        PRE_INC                                                  !1
         16    >   STRLEN                                           ~12     !0
         17        IS_SMALLER                                               !1, ~12
         18      > JMPNZ                                                    ~13, ->6
         19    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
136.77 ms | 998 KiB | 15 Q