3v4l.org

run code in 300+ PHP versions simultaneously
<?php $broken = '€å¤–資系】セールス・マネジャー' . "\n"; echo utf8_encode($broken); echo utf8_decode($broken);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Pd5ms
function name:  (null)
number of ops:  10
compiled vars:  !0 = $broken
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%E2%82%AC%C2%90%C3%A5%C2%A4%E2%80%93%C3%A8%C2%B3%E2%80%A1%C3%A7%C2%B3%C2%BB%C3%A3%E2%82%AC%E2%80%98%C3%A3%E2%80%9A%C2%BB%C3%A3%C6%92%C2%BC%C3%A3%C6%92%C2%AB%C3%A3%E2%80%9A%C2%B9%C3%A3%C6%92%C2%BB%C3%A3%C6%92%C5%BE%C3%A3%C6%92%C2%8D%C3%A3%E2%80%9A%C2%B8%C3%A3%C6%92%C2%A3%C3%A3%C6%92%C2%BC%0A'
    4     1        INIT_FCALL                                               'utf8_encode'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $2      
          4        ECHO                                                     $2
    5     5        INIT_FCALL                                               'utf8_decode'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $3      
          8        ECHO                                                     $3
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.15 ms | 1394 KiB | 17 Q