3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = "Théodore Roszak"; #$iso88591_1 = utf8_decode($text); $conversion = iconv('UTF-8', 'ISO-8859-1', $text); echo 'result:'.$conversion;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kN4IG
function name:  (null)
number of ops:  10
compiled vars:  !0 = $text, !1 = $conversion
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Th%C3%83%C2%A9odore+Roszak'
    5     1        INIT_FCALL_BY_NAME                                       'iconv'
          2        SEND_VAL_EX                                              'UTF-8'
          3        SEND_VAL_EX                                              'ISO-8859-1'
          4        SEND_VAR_EX                                              !0
          5        DO_FCALL                                      0  $3      
          6        ASSIGN                                                   !1, $3
    6     7        CONCAT                                           ~5      'result%3A', !1
          8        ECHO                                                     ~5
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
191.64 ms | 1392 KiB | 16 Q