3v4l.org

run code in 300+ PHP versions simultaneously
<?php $food = 'jalapeƱo'; echo mb('utf-8', 'ascii', $food); echo mb_convert_encoding($food, 'ascii', 'utf-8');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Opnbi
function name:  (null)
number of ops:  14
compiled vars:  !0 = $food
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'jalape%C3%B1o'
    3     1        INIT_FCALL_BY_NAME                                       'mb'
          2        SEND_VAL_EX                                              'utf-8'
          3        SEND_VAL_EX                                              'ascii'
          4        SEND_VAR_EX                                              !0
          5        DO_FCALL                                      0  $2      
          6        ECHO                                                     $2
    4     7        INIT_FCALL                                               'mb_convert_encoding'
          8        SEND_VAR                                                 !0
          9        SEND_VAL                                                 'ascii'
         10        SEND_VAL                                                 'utf-8'
         11        DO_ICALL                                         $3      
         12        ECHO                                                     $3
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.17 ms | 1394 KiB | 15 Q