3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo trim(json_encode("简体中文", true), '"');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mhvuv
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'trim'
          1        INIT_FCALL                                               'json_encode'
          2        SEND_VAL                                                 '%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87'
          3        SEND_VAL                                                 <true>
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
          6        SEND_VAL                                                 '%22'
          7        DO_ICALL                                         $1      
          8        ECHO                                                     $1
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
136.88 ms | 1398 KiB | 17 Q