3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = array(); $x["msg5"] = "yyy &#3612;&#3626;&#3617;&#3616;&#3634;&#3625;&#3634;&#3652;&#3607;&#3618; zzz"; $x["id"] = 12345; $x["f"] = true; echo json_encode($x);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4lAgP
function name:  (null)
number of ops:  12
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN_DIM                                               !0, 'msg5'
          2        OP_DATA                                                  'yyy+%26%233612%3B%26%233626%3B%26%233617%3B%26%233616%3B%26%233634%3B%26%233625%3B%26%233634%3B%26%233652%3B%26%233607%3B%26%233618%3B+zzz'
    4     3        ASSIGN_DIM                                               !0, 'id'
          4        OP_DATA                                                  12345
    5     5        ASSIGN_DIM                                               !0, 'f'
          6        OP_DATA                                                  <true>
    7     7        INIT_FCALL                                               'json_encode'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $5      
         10        ECHO                                                     $5
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.68 ms | 1394 KiB | 15 Q