3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ 11 => [ 4 => 'apr11timetable.php', 8 => 'aug11timetable.php', 6 => 'jun11timetable.php', 11 => 'nov11timetable.php', 10 => 'oct11timetable.php' ], 12 => [ 4 => 'apr12timetable.php', 8 => 'aug12timetable.php', 2 => 'feb12timetable.php', 6 => 'jun12timetable.php', 10 => 'oct12timetable.php' ] ]; krsort($array); array_walk($array, fn(&$v) => krsort($v)); var_export($array);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mqCc6
function name:  (null)
number of ops:  13
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   20     1        INIT_FCALL                                               'krsort'
          2        SEND_REF                                                 !0
          3        DO_ICALL                                                 
   21     4        INIT_FCALL                                               'array_walk'
          5        SEND_REF                                                 !0
          6        DECLARE_LAMBDA_FUNCTION                          ~3      [0]
          7        SEND_VAL                                                 ~3
          8        DO_ICALL                                                 
   22     9        INIT_FCALL                                               'var_export'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                                 
         12      > RETURN                                                   1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mqCc6
function name:  {closure}
number of ops:  6
compiled vars:  !0 = $v
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   21     0  E >   RECV                                             !0      
          1        INIT_FCALL                                               'krsort'
          2        SEND_REF                                                 !0
          3        DO_ICALL                                         $1      
          4      > RETURN                                                   $1
          5*     > RETURN                                                   null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.12 ms | 1007 KiB | 16 Q