3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = 'this is a test'; for($i = 0; $i < mb_strlen($input); $i++) { echo bin2hex($input[$i]); if($i < mb_strlen($input) - 1) { echo " "; } }
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 = 21, Position 2 = 3
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 15
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 21, Position 2 = 3
Branch analysis from position: 21
Branch analysis from position: 3
Branch analysis from position: 15
filename:       /in/kg0vA
function name:  (null)
number of ops:  22
compiled vars:  !0 = $input, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 'this+is+a+test'
    6     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->16
    7     3    >   INIT_FCALL                                               'bin2hex'
          4        FETCH_DIM_R                                      ~4      !0, !1
          5        SEND_VAL                                                 ~4
          6        DO_ICALL                                         $5      
          7        ECHO                                                     $5
    9     8        INIT_FCALL                                               'mb_strlen'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $6      
         11        SUB                                              ~7      $6, 1
         12        IS_SMALLER                                               !1, ~7
         13      > JMPZ                                                     ~8, ->15
   10    14    >   ECHO                                                     '+'
    6    15    >   PRE_INC                                                  !1
         16    >   INIT_FCALL                                               'mb_strlen'
         17        SEND_VAR                                                 !0
         18        DO_ICALL                                         $10     
         19        IS_SMALLER                                               !1, $10
         20      > JMPNZ                                                    ~11, ->3
   12    21    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.88 ms | 1400 KiB | 17 Q