3v4l.org

run code in 500+ PHP versions simultaneously
<?php $input = "\xD6wn"; $output = mb_convert_encoding($input, 'UTF-8', 'ISO-8859-1'); var_dump(bin2hex($input), bin2hex($output));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EJpVY
function name:  (null)
number of ops:  18
compiled vars:  !0 = $input, !1 = $output
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, '%D6wn'
    3     1        INIT_FCALL                                                   'mb_convert_encoding'
          2        SEND_VAR                                                     !0
          3        SEND_VAL                                                     'UTF-8'
          4        SEND_VAL                                                     'ISO-8859-1'
          5        DO_ICALL                                             $3      
          6        ASSIGN                                                       !1, $3
    4     7        INIT_FCALL                                                   'var_dump'
          8        INIT_FCALL                                                   'bin2hex'
          9        SEND_VAR                                                     !0
         10        DO_ICALL                                             $5      
         11        SEND_VAR                                                     $5
         12        INIT_FCALL                                                   'bin2hex'
         13        SEND_VAR                                                     !1
         14        DO_ICALL                                             $6      
         15        SEND_VAR                                                     $6
         16        DO_ICALL                                                     
         17      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
157.97 ms | 2110 KiB | 16 Q