3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "\uae30\ub124\uc2a4 \ucf54\ub9ac\uc544 (Guinness Korea)"; $encoded = json_encode($str); var_dump($encoded); $decoded = json_decode($encoded); var_dump($decoded);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tSBaL
function name:  (null)
number of ops:  16
compiled vars:  !0 = $str, !1 = $encoded, !2 = $decoded
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%5Cuae30%5Cub124%5Cuc2a4+%5Cucf54%5Cub9ac%5Cuc544+%28Guinness+Korea%29'
    4     1        INIT_FCALL                                               'json_encode'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !1, $4
    6     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                                 
    8     8        INIT_FCALL                                               'json_decode'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                         $7      
         11        ASSIGN                                                   !2, $7
   10    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAR                                                 !2
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.77 ms | 1386 KiB | 19 Q