3v4l.org

run code in 500+ PHP versions simultaneously
<?php $array = Array ( 0 => Array ( 'user_id' => 10, 'id' => 1, 'Number' => 3, 'Active' => 1, 'Updated' => '2010-03-17 15:44:12', ), 1 => Array ( 'user_id' => 9, 'id' => 2, 'Number' => 2, 'Active' => 1, 'Updated' => '2010-03-17 15:44:12', ), 2 => Array ( 'user_id' => 8, 'id' => 3, 'Number' => 1, 'Active' => 1, 'Updated' => '2010-03-17 15:44:12', ) ); array_multisort(array_map(function($element) { return $element['user_id']; }, $array), SORT_ASC, $array); print_r($array);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IsAlX
function name:  (null)
number of ops:  15
compiled vars:  !0 = $array
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
   35     1        INIT_FCALL                                                   'array_multisort'
          2        INIT_FCALL                                                   'array_map'
          3        DECLARE_LAMBDA_FUNCTION                              ~2      [0]
   37     4        SEND_VAL                                                     ~2
          5        SEND_VAR                                                     !0
   35     6        DO_ICALL                                             $3      
   37     7        SEND_VAL                                                     $3
          8        SEND_VAL                                                     4
          9        SEND_REF                                                     !0
   35    10        DO_ICALL                                                     
   39    11        INIT_FCALL                                                   'print_r'
         12        SEND_VAR                                                     !0
         13        DO_ICALL                                                     
         14      > 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/IsAlX
function name:  {closure:/in/IsAlX:35}
number of ops:  4
compiled vars:  !0 = $element
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   35     0  E >   RECV                                                 !0      
   36     1        FETCH_DIM_R                                          ~1      !0, 'user_id'
          2      > RETURN                                                       ~1
   37     3*     > RETURN                                                       null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
151.96 ms | 2218 KiB | 16 Q