3v4l.org

run code in 300+ PHP versions simultaneously
<?php $objects = [ (object)['Rate' => '10'], (object)['Rate' => '1'], (object)['Rate' => '2'], (object)['Rate' => '20'], (object)['Rate' => '22'] ]; array_multisort(array_column($objects, 'Rate'), SORT_DESC, SORT_NUMERIC, $objects); var_export($objects);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/F1fZX
function name:  (null)
number of ops:  25
compiled vars:  !0 = $objects
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   CAST                                          8  ~1      <array>
          1        INIT_ARRAY                                       ~2      ~1
    4     2        CAST                                          8  ~3      <array>
          3        ADD_ARRAY_ELEMENT                                ~2      ~3
    5     4        CAST                                          8  ~4      <array>
          5        ADD_ARRAY_ELEMENT                                ~2      ~4
    6     6        CAST                                          8  ~5      <array>
          7        ADD_ARRAY_ELEMENT                                ~2      ~5
    7     8        CAST                                          8  ~6      <array>
          9        ADD_ARRAY_ELEMENT                                ~2      ~6
    2    10        ASSIGN                                                   !0, ~2
   10    11        INIT_FCALL                                               'array_multisort'
         12        INIT_FCALL                                               'array_column'
         13        SEND_VAR                                                 !0
         14        SEND_VAL                                                 'Rate'
         15        DO_ICALL                                         $8      
         16        SEND_VAL                                                 $8
         17        SEND_VAL                                                 3
         18        SEND_VAL                                                 1
         19        SEND_REF                                                 !0
         20        DO_ICALL                                                 
   11    21        INIT_FCALL                                               'var_export'
         22        SEND_VAR                                                 !0
         23        DO_ICALL                                                 
         24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.17 ms | 999 KiB | 16 Q