3v4l.org

run code in 300+ PHP versions simultaneously
<?php $r = urlencode(iconv('UTF-8', 'ISO-8859-1', 'åäö')); echo $r;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6UXjU
function name:  (null)
number of ops:  11
compiled vars:  !0 = $r
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'urlencode'
          1        INIT_FCALL_BY_NAME                                       'iconv'
          2        SEND_VAL_EX                                              'UTF-8'
          3        SEND_VAL_EX                                              'ISO-8859-1'
          4        SEND_VAL_EX                                              '%C3%A5%C3%A4%C3%B6'
          5        DO_FCALL                                      0  $1      
          6        SEND_VAR                                                 $1
          7        DO_ICALL                                         $2      
          8        ASSIGN                                                   !0, $2
    4     9        ECHO                                                     !0
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.82 ms | 1394 KiB | 15 Q