3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arrTags['banana'] = 3; $arrTags['mango'] = 2; $arrTags['apple'] = 2; $arrTags['orange'] = 4; $arrTags['almond'] = 2; ksort($arrTags); arsort($arrTags); var_export($arrTags);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/d3a1m
function name:  (null)
number of ops:  20
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, 'apple'
          5        OP_DATA                                                  2
    6     6        ASSIGN_DIM                                               !0, 'orange'
          7        OP_DATA                                                  4
    7     8        ASSIGN_DIM                                               !0, 'almond'
          9        OP_DATA                                                  2
    9    10        INIT_FCALL                                               'ksort'
         11        SEND_REF                                                 !0
         12        DO_ICALL                                                 
   10    13        INIT_FCALL                                               'arsort'
         14        SEND_REF                                                 !0
         15        DO_ICALL                                                 
   11    16        INIT_FCALL                                               'var_export'
         17        SEND_VAR                                                 !0
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.53 ms | 939 KiB | 20 Q