3v4l.org

run code in 500+ PHP versions simultaneously
<?php $a = '𠮟'; var_dump($a); $converted = mb_convert_encoding($a, 'SJIS', 'UTF-8'); var_dump($converted); $new_a = mb_convert_encoding($converted, 'UTF-8', 'SJIS'); var_dump($new_a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Q7WKA
function name:  (null)
number of ops:  23
compiled vars:  !0 = $a, !1 = $converted, !2 = $new_a
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, '%F0%A0%AE%9F'
    4     1        INIT_FCALL                                                   'var_dump'
          2        SEND_VAR                                                     !0
          3        DO_ICALL                                                     
    6     4        INIT_FCALL                                                   'mb_convert_encoding'
          5        SEND_VAR                                                     !0
          6        SEND_VAL                                                     'SJIS'
          7        SEND_VAL                                                     'UTF-8'
          8        DO_ICALL                                             $5      
          9        ASSIGN                                                       !1, $5
    7    10        INIT_FCALL                                                   'var_dump'
         11        SEND_VAR                                                     !1
         12        DO_ICALL                                                     
    9    13        INIT_FCALL                                                   'mb_convert_encoding'
         14        SEND_VAR                                                     !1
         15        SEND_VAL                                                     'UTF-8'
         16        SEND_VAL                                                     'SJIS'
         17        DO_ICALL                                             $8      
         18        ASSIGN                                                       !2, $8
   10    19        INIT_FCALL                                                   'var_dump'
         20        SEND_VAR                                                     !2
         21        DO_ICALL                                                     
         22      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
166.75 ms | 1899 KiB | 15 Q