3v4l.org

run code in 500+ PHP versions simultaneously
<?php $str = chr(0xc0); $converted = mb_convert_encoding($str, 'UTF-8'); var_dump($converted);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kQL6m
function name:  (null)
number of ops:  10
compiled vars:  !0 = $str, !1 = $converted
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, '%C0'
    4     1        INIT_FCALL                                                   'mb_convert_encoding'
          2        SEND_VAR                                                     !0
          3        SEND_VAL                                                     'UTF-8'
          4        DO_ICALL                                             $3      
          5        ASSIGN                                                       !1, $3
    6     6        INIT_FCALL                                                   'var_dump'
          7        SEND_VAR                                                     !1
          8        DO_ICALL                                                     
          9      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
159.76 ms | 1586 KiB | 16 Q