3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tmp_array_value = array ( '9e5dae29ec5a83d503f2e4d4b5f29f91' => array ( '007Hal007' => array ( 'C0' => 2, 'C1' => 1, 'C2' => 1, ), ), '9317264ea7cc25c6f4f92bbdeb01ec63' => array ( '011210' => array ( 'C0' => 3, 'C1' => 1, 'C2' => 1, 'C3' => 1, ), ), 'c911f95676eb7e5979fda3770bff1a03' => array ( '022218' => array ( 'C0' => 1, 'C1' => 1, 'C2' => 1, 'C3' => 1, ), ) ); uasort($tmp_array_value, function ($a, $b) { return array_values($a)[0]['C0'] - array_values($b)[0]['C0']; }); print_r($tmp_array_value);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eaaaZ
function name:  (null)
number of ops:  10
compiled vars:  !0 = $tmp_array_value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   35     1        INIT_FCALL                                               'uasort'
          2        SEND_REF                                                 !0
          3        DECLARE_LAMBDA_FUNCTION                          ~2      [0]
   37     4        SEND_VAL                                                 ~2
   35     5        DO_ICALL                                                 
   39     6        INIT_FCALL                                               'print_r'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                                 
          9      > 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/eaaaZ
function name:  {closure}
number of ops:  15
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   35     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   36     2        INIT_FCALL                                               'array_values'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $2      
          5        FETCH_DIM_R                                      ~3      $2, 0
          6        FETCH_DIM_R                                      ~4      ~3, 'C0'
          7        INIT_FCALL                                               'array_values'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                         $5      
         10        FETCH_DIM_R                                      ~6      $5, 0
         11        FETCH_DIM_R                                      ~7      ~6, 'C0'
         12        SUB                                              ~8      ~4, ~7
         13      > RETURN                                                   ~8
   37    14*     > RETURN                                                   null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
240.91 ms | 956 KiB | 16 Q