3v4l.org

run code in 300+ PHP versions simultaneously
<?php $specification = array( 'type' => array( 'Excavator', 'Mini Excavator', 'Mini Excavator', 'Excavator', 'Excavator', 'Excavator', 'Rubber Tire', 'Rubber Tire', 'Rubber Tire', ), 'estimated_weight' => array( '680', '110', '130', '675', '750', '750', '200', '200', '300', ), 'weight_class' => array( '24,000 - 33,000 Lbs', '2,500 - 4,000 Lbs', '4,000 - 8,000 Lbs', '24,000 - 33,000 Lbs', '40,000 - 45,000 Lbs', '40,000 - 45,000 Lbs', 'Rubber Tire', 'Rubber Tire', 'Rubber Tire', ), ); array_multisort( $specification['weight_class'], SORT_NATURAL, $specification['estimated_weight'], $specification['type'], ); var_export($specification);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/r9ciU
function name:  (null)
number of ops:  14
compiled vars:  !0 = $specification
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   39     1        INIT_FCALL                                               'array_multisort'
   40     2        FETCH_DIM_W                                      $2      !0, 'weight_class'
          3        SEND_REF                                                 $2
   41     4        SEND_VAL                                                 6
   42     5        FETCH_DIM_W                                      $3      !0, 'estimated_weight'
          6        SEND_REF                                                 $3
   43     7        FETCH_DIM_W                                      $4      !0, 'type'
          8        SEND_REF                                                 $4
   39     9        DO_ICALL                                                 
   45    10        INIT_FCALL                                               'var_export'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.15 ms | 997 KiB | 15 Q