3v4l.org

run code in 300+ PHP versions simultaneously
<?php $list = array( 0 => "F", 1 => "E", 60 => "B", 20 => "C", 14 => "D", 100 => "A" ); krsort($list); print 'sorted: '.var_export($list, true);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/b12Ma
function name:  (null)
number of ops:  11
compiled vars:  !0 = $list
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   11     1        INIT_FCALL                                               'krsort'
          2        SEND_REF                                                 !0
          3        DO_ICALL                                                 
   12     4        INIT_FCALL                                               'var_export'
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 <true>
          7        DO_ICALL                                         $3      
          8        CONCAT                                           ~4      'sorted%3A+', $3
          9        ECHO                                                     ~4
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.45 ms | 1426 KiB | 15 Q