3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr=json_decode('{"account":"user12","date":"2012-10-01 12:32:00","paymentType":"mc","projectId":"519","sum":"10.00","sign":"9bdf52a4830779a1383ac24f1b3ed054","unitpayId":"1234567","profit":"10.00"}'); $arr = array($arr); ksort($arr); echo $arr;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WZafL
function name:  (null)
number of ops:  11
compiled vars:  !0 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'json_decode'
          1        SEND_VAL                                                 '%7B%22account%22%3A%22user12%22%2C%22date%22%3A%222012-10-01+12%3A32%3A00%22%2C%22paymentType%22%3A%22mc%22%2C%22projectId%22%3A%22519%22%2C%22sum%22%3A%2210.00%22%2C%22sign%22%3A%229bdf52a4830779a1383ac24f1b3ed054%22%2C%22unitpayId%22%3A%221234567%22%2C%22profit%22%3A%2210.00%22%7D'
          2        DO_ICALL                                         $1      
          3        ASSIGN                                                   !0, $1
    3     4        INIT_ARRAY                                       ~3      !0
          5        ASSIGN                                                   !0, ~3
    4     6        INIT_FCALL                                               'ksort'
          7        SEND_REF                                                 !0
          8        DO_ICALL                                                 
    5     9        ECHO                                                     !0
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.23 ms | 1385 KiB | 17 Q