3v4l.org

run code in 300+ PHP versions simultaneously
<?php function decodebinhex($hexdata) { $res = ''; $ar = str_split($hexdata,2); foreach ($ar as $ch) { $res .= chr(hexdec($ch)); } return $res; } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/S0FOQ
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E > > RETURN                                                   1

Function decodebinhex:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 8, Position 2 = 17
Branch analysis from position: 8
2 jumps found. (Code = 78) Position 1 = 9, Position 2 = 17
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
filename:       /in/S0FOQ
function name:  decodebinhex
number of ops:  20
compiled vars:  !0 = $hexdata, !1 = $res, !2 = $ar, !3 = $ch
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    4     1        ASSIGN                                                   !1, ''
    5     2        INIT_FCALL                                               'str_split'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 2
          5        DO_ICALL                                         $5      
          6        ASSIGN                                                   !2, $5
    6     7      > FE_RESET_R                                       $7      !2, ->17
          8    > > FE_FETCH_R                                               $7, !3, ->17
    7     9    >   INIT_FCALL                                               'chr'
         10        INIT_FCALL                                               'hexdec'
         11        SEND_VAR                                                 !3
         12        DO_ICALL                                         $8      
         13        SEND_VAR                                                 $8
         14        DO_ICALL                                         $9      
         15        ASSIGN_OP                                     8          !1, $9
    6    16      > JMP                                                      ->8
         17    >   FE_FREE                                                  $7
    9    18      > RETURN                                                   !1
   10    19*     > RETURN                                                   null

End of function decodebinhex

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.12 ms | 1395 KiB | 19 Q