3v4l.org

run code in 300+ PHP versions simultaneously
<?php $c = '€'; echo bin2hex($c) . "\n"; echo bin2hex(iconv('UTF-8', 'CP850//TRANSLIT', $c)) . "\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fJPnp
function name:  (null)
number of ops:  17
compiled vars:  !0 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%E2%82%AC'
    3     1        INIT_FCALL                                               'bin2hex'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $2      
          4        CONCAT                                           ~3      $2, '%0A'
          5        ECHO                                                     ~3
    4     6        INIT_FCALL                                               'bin2hex'
          7        INIT_FCALL_BY_NAME                                       'iconv'
          8        SEND_VAL_EX                                              'UTF-8'
          9        SEND_VAL_EX                                              'CP850%2F%2FTRANSLIT'
         10        SEND_VAR_EX                                              !0
         11        DO_FCALL                                      0  $4      
         12        SEND_VAR                                                 $4
         13        DO_ICALL                                         $5      
         14        CONCAT                                           ~6      $5, '%0A'
         15        ECHO                                                     ~6
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.14 ms | 1394 KiB | 15 Q