3v4l.org

run code in 500+ PHP versions simultaneously
<?php $arrTags['banana'] = 3; $arrTags['mango'] = 2; $arrTags['apple1'] = 2; $arrTags['orange'] = 4; $arrTags['almond1'] = 2; array_multisort($arrTags, SORT_DESC, array_keys($arrTags), SORT_ASC, $arrTags); print_r($arrTags);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pXl20
function name:  (null)
number of ops:  24
compiled vars:  !0 = $arrTags
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                                   !0, 'banana'
          1        OP_DATA                                                      3
    4     2        ASSIGN_DIM                                                   !0, 'mango'
          3        OP_DATA                                                      2
    5     4        ASSIGN_DIM                                                   !0, 'apple1'
          5        OP_DATA                                                      2
    6     6        ASSIGN_DIM                                                   !0, 'orange'
          7        OP_DATA                                                      4
    7     8        ASSIGN_DIM                                                   !0, 'almond1'
          9        OP_DATA                                                      2
    9    10        INIT_FCALL                                                   'array_multisort'
         11        SEND_REF                                                     !0
         12        SEND_VAL                                                     3
         13        INIT_FCALL                                                   'array_keys'
         14        SEND_VAR                                                     !0
         15        DO_ICALL                                             $6      
         16        SEND_VAL                                                     $6
         17        SEND_VAL                                                     4
         18        SEND_REF                                                     !0
         19        DO_ICALL                                                     
   10    20        INIT_FCALL                                                   'print_r'
         21        SEND_VAR                                                     !0
         22        DO_ICALL                                                     
         23      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
159.39 ms | 1870 KiB | 16 Q