3v4l.org

run code in 300+ PHP versions simultaneously
<?php $iptcData = "Photoshop 3.0\08BIM\4\4\0\0\0\0\0\x11\x1c\x02\x19\x00\x04\xC3\xC3\xC3\xB8" . "\x1c\x01\x5A\x00\x03\x1B\x25\x47"; $res = iptcparse( $iptcData ); $keywords = $res['2#025']; var_dump( iconv( "UTF-8", "UTF-8//IGNORE", $keywords ) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mIuOV
function name:  (null)
number of ops:  16
compiled vars:  !0 = $iptcData, !1 = $res, !2 = $keywords
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Photoshop+3.0%008BIM%04%04%00%00%00%00%00%11%1C%02%19%00%04%C3%C3%C3%B8%1C%01Z%00%03%1B%25G'
    5     1        INIT_FCALL                                               'iptcparse'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !1, $4
    6     5        FETCH_DIM_R                                      ~6      !1, '2%23025'
          6        ASSIGN                                                   !2, ~6
    8     7        INIT_FCALL                                               'var_dump'
          8        INIT_FCALL_BY_NAME                                       'iconv'
          9        SEND_VAL_EX                                              'UTF-8'
         10        SEND_VAL_EX                                              'UTF-8%2F%2FIGNORE'
         11        SEND_VAR_EX                                              !2
         12        DO_FCALL                                      0  $8      
         13        SEND_VAR                                                 $8
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.56 ms | 1394 KiB | 17 Q