3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i=0; $i<256; $i++) { var_dump(mb_convert_encoding(chr($i), 'UTF-8', 'UTF-8')); }
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 = 16, Position 2 = 2
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 2
Branch analysis from position: 16
Branch analysis from position: 2
filename:       /in/GjRI5
function name:  (null)
number of ops:  17
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 0
          1      > JMP                                                      ->14
    3     2    >   INIT_FCALL                                               'var_dump'
          3        INIT_FCALL                                               'mb_convert_encoding'
          4        INIT_FCALL                                               'chr'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $2      
          7        SEND_VAR                                                 $2
          8        SEND_VAL                                                 'UTF-8'
          9        SEND_VAL                                                 'UTF-8'
         10        DO_ICALL                                         $3      
         11        SEND_VAR                                                 $3
         12        DO_ICALL                                                 
    2    13        PRE_INC                                                  !0
         14    >   IS_SMALLER                                               !0, 256
         15      > JMPNZ                                                    ~6, ->2
    4    16    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.29 ms | 1395 KiB | 19 Q