3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.44 ms | 1402 KiB | 18 Q