3v4l.org

run code in 300+ PHP versions simultaneously
<?php $soarspirit = array( xmlrpc=>'http://direct.soarspirit.com/xmlrpc.php', username=>'soarspirit', password=>'87712579a', categories=>array('Baby','Beauty','Electronics','Home Improvement','Kitchen','Appliances') ); $smallappliancesreviews = array( xmlrpc=>'http://direct.smallappliancesreviews.com/xmlrpc.php', username=>'jesselee', password=>'lijinsong123', categories=>array('Air Purifier','Blender','Bread Maker','Coffee Maker','Dehumidifier','Electric Kettle','Fan','Food Processor','Humidifier','Ice Cream Maker','Juicer','Rice Cooker','Sausage Maker','Slow Cooker','Stand Mixer','Toaster','Vacuum Cleaner','Waffle Maker') ); $majorappliancesreviews = array( xmlrpc=>'http://direct.majorappliancesreviews.com/xmlrpc.php', username=>'jesselee', password=>'lijinsong123', categories=>array('Air Conditioner','Cooking Range','Dishwasher','Microwave','Rang Hood','Refrigerator','TV','Washing Machine','Water Heater','Wine Cooler') ); $test = array( xmlrpc =>'http://www.test.com/xmlrpc.php', username=>'admin', password=>'123456', categories=>array('apple') ); $sites = array('test.com'=>$test,'soarspirit.com'=>$soarspirit,'smallappliancesreviews.com'=>$smallappliancesreviews,'majorappliancesreviews.com'=>$majorappliancesreviews); echo json_encode($sites);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Iv5UY
function name:  (null)
number of ops:  46
compiled vars:  !0 = $soarspirit, !1 = $smallappliancesreviews, !2 = $majorappliancesreviews, !3 = $test, !4 = $sites
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_CONSTANT                                   ~5      'xmlrpc'
          1        INIT_ARRAY                                       ~6      'http%3A%2F%2Fdirect.soarspirit.com%2Fxmlrpc.php', ~5
    4     2        FETCH_CONSTANT                                   ~7      'username'
          3        ADD_ARRAY_ELEMENT                                ~6      'soarspirit', ~7
    5     4        FETCH_CONSTANT                                   ~8      'password'
          5        ADD_ARRAY_ELEMENT                                ~6      '87712579a', ~8
    6     6        FETCH_CONSTANT                                   ~9      'categories'
    3     7        ADD_ARRAY_ELEMENT                                ~6      <array>, ~9
    2     8        ASSIGN                                                   !0, ~6
   10     9        FETCH_CONSTANT                                   ~11     'xmlrpc'
         10        INIT_ARRAY                                       ~12     'http%3A%2F%2Fdirect.smallappliancesreviews.com%2Fxmlrpc.php', ~11
   11    11        FETCH_CONSTANT                                   ~13     'username'
         12        ADD_ARRAY_ELEMENT                                ~12     'jesselee', ~13
   12    13        FETCH_CONSTANT                                   ~14     'password'
         14        ADD_ARRAY_ELEMENT                                ~12     'lijinsong123', ~14
   13    15        FETCH_CONSTANT                                   ~15     'categories'
   10    16        ADD_ARRAY_ELEMENT                                ~12     <array>, ~15
    9    17        ASSIGN                                                   !1, ~12
   17    18        FETCH_CONSTANT                                   ~17     'xmlrpc'
         19        INIT_ARRAY                                       ~18     'http%3A%2F%2Fdirect.majorappliancesreviews.com%2Fxmlrpc.php', ~17
   18    20        FETCH_CONSTANT                                   ~19     'username'
         21        ADD_ARRAY_ELEMENT                                ~18     'jesselee', ~19
   19    22        FETCH_CONSTANT                                   ~20     'password'
         23        ADD_ARRAY_ELEMENT                                ~18     'lijinsong123', ~20
   20    24        FETCH_CONSTANT                                   ~21     'categories'
   17    25        ADD_ARRAY_ELEMENT                                ~18     <array>, ~21
   16    26        ASSIGN                                                   !2, ~18
   24    27        FETCH_CONSTANT                                   ~23     'xmlrpc'
         28        INIT_ARRAY                                       ~24     'http%3A%2F%2Fwww.test.com%2Fxmlrpc.php', ~23
   25    29        FETCH_CONSTANT                                   ~25     'username'
         30        ADD_ARRAY_ELEMENT                                ~24     'admin', ~25
   26    31        FETCH_CONSTANT                                   ~26     'password'
         32        ADD_ARRAY_ELEMENT                                ~24     '123456', ~26
   27    33        FETCH_CONSTANT                                   ~27     'categories'
   24    34        ADD_ARRAY_ELEMENT                                ~24     <array>, ~27
   23    35        ASSIGN                                                   !3, ~24
   30    36        INIT_ARRAY                                       ~29     !3, 'test.com'
         37        ADD_ARRAY_ELEMENT                                ~29     !0, 'soarspirit.com'
         38        ADD_ARRAY_ELEMENT                                ~29     !1, 'smallappliancesreviews.com'
         39        ADD_ARRAY_ELEMENT                                ~29     !2, 'majorappliancesreviews.com'
         40        ASSIGN                                                   !4, ~29
   33    41        INIT_FCALL                                               'json_encode'
         42        SEND_VAR                                                 !4
         43        DO_ICALL                                         $31     
         44        ECHO                                                     $31
         45      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.79 ms | 1400 KiB | 15 Q