3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json['AVAILABLE_ROLE']=array(); $json['asd']=""; $json['qwe']=array("IDHtmlCode"=>"25","inputHtmlCode"=>'as"d'); print_r((json_encode($json,JSON_HEX_QUOT))); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hP2rT
function name:  (null)
number of ops:  14
compiled vars:  !0 = $json
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                               !0, 'AVAILABLE_ROLE'
          1        OP_DATA                                                  <array>
    4     2        ASSIGN_DIM                                               !0, 'asd'
          3        OP_DATA                                                  ''
    5     4        ASSIGN_DIM                                               !0, 'qwe'
          5        OP_DATA                                                  <array>
    7     6        INIT_FCALL                                               'print_r'
          7        INIT_FCALL                                               'json_encode'
          8        SEND_VAR                                                 !0
          9        SEND_VAL                                                 8
         10        DO_ICALL                                         $4      
         11        SEND_VAR                                                 $4
         12        DO_ICALL                                                 
   10    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.9 ms | 1394 KiB | 17 Q