3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "きゃ きゅ きょ"; $encoded = json_encode($str); var_dump($encoded); $decoded = json_decode($str); var_dump($decoded);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8EWhI
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, '%E3%81%8D%E3%82%83+%0A%E3%81%8D%E3%82%85+%0A%E3%81%8D%E3%82%87'
    6     1        INIT_FCALL                                               'json_encode'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !1, $4
    8     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                                 
   10     8        INIT_FCALL                                               'json_decode'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $7      
         11        ASSIGN                                                   !2, $7
   12    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:
155.23 ms | 1394 KiB | 19 Q