3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo 'Before' . "\n" ; $str=mb_strtolower('İstanbul'); for ($i = 0; $i < strlen($str); $i++) echo $str[$i] . " => " . ord($str[$i]) . "\n"; echo "\n" . 'After' . "\n" ; $str=mb_convert_case('İstanbul', MB_CASE_LOWER_SIMPLE) ; 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 = 17
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 7
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 38
Branch analysis from position: 38
2 jumps found. (Code = 44) Position 1 = 41, Position 2 = 28
Branch analysis from position: 41
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 28
2 jumps found. (Code = 44) Position 1 = 41, Position 2 = 28
Branch analysis from position: 41
Branch analysis from position: 28
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 7
Branch analysis from position: 20
Branch analysis from position: 7
filename:       /in/IBs34
function name:  (null)
number of ops:  42
compiled vars:  !0 = $str, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ECHO                                                     'Before%0A'
    3     1        INIT_FCALL                                               'mb_strtolower'
          2        SEND_VAL                                                 '%C4%B0stanbul'
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
          5        ASSIGN                                                   !1, 0
          6      > JMP                                                      ->17
          7    >   FETCH_DIM_R                                      ~5      !0, !1
          8        CONCAT                                           ~6      ~5, '+%3D%3E+'
          9        INIT_FCALL                                               'ord'
         10        FETCH_DIM_R                                      ~7      !0, !1
         11        SEND_VAL                                                 ~7
         12        DO_ICALL                                         $8      
         13        CONCAT                                           ~9      ~6, $8
         14        CONCAT                                           ~10     ~9, '%0A'
         15        ECHO                                                     ~10
         16        PRE_INC                                                  !1
         17    >   STRLEN                                           ~12     !0
         18        IS_SMALLER                                               !1, ~12
         19      > JMPNZ                                                    ~13, ->7
    4    20    >   ECHO                                                     '%0AAfter%0A'
    5    21        INIT_FCALL                                               'mb_convert_case'
         22        SEND_VAL                                                 '%C4%B0stanbul'
         23        SEND_VAL                                                 5
         24        DO_ICALL                                         $14     
         25        ASSIGN                                                   !0, $14
         26        ASSIGN                                                   !1, 0
         27      > JMP                                                      ->38
         28    >   FETCH_DIM_R                                      ~17     !0, !1
         29        CONCAT                                           ~18     ~17, '+%3D%3E+'
         30        INIT_FCALL                                               'ord'
         31        FETCH_DIM_R                                      ~19     !0, !1
         32        SEND_VAL                                                 ~19
         33        DO_ICALL                                         $20     
         34        CONCAT                                           ~21     ~18, $20
         35        CONCAT                                           ~22     ~21, '%0A'
         36        ECHO                                                     ~22
         37        PRE_INC                                                  !1
         38    >   STRLEN                                           ~24     !0
         39        IS_SMALLER                                               !1, ~24
         40      > JMPNZ                                                    ~25, ->28
         41    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.07 ms | 1017 KiB | 16 Q