3v4l.org

run code in 500+ PHP versions simultaneously
<?php $array = [ ['Title' => 'rose', 'Price' => 1.25, 'Number' => '10'], ['Title' => 'daisy', 'Price' => 0.75, 'Number' => '1'], ['Title' => 'orchid', 'Price' => 1.15, 'Number' => '7'] ]; array_multisort(array_column($array, 'Number'), SORT_NUMERIC, $array); var_export($array);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/scgmd
function name:  (null)
number of ops:  14
compiled vars:  !0 = $array
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
    9     1        INIT_FCALL                                                   'array_multisort'
          2        INIT_FCALL                                                   'array_column'
          3        SEND_VAR                                                     !0
          4        SEND_VAL                                                     'Number'
          5        DO_ICALL                                             $2      
          6        SEND_VAL                                                     $2
          7        SEND_VAL                                                     1
          8        SEND_REF                                                     !0
          9        DO_ICALL                                                     
   10    10        INIT_FCALL                                                   'var_export'
         11        SEND_VAR                                                     !0
         12        DO_ICALL                                                     
         13      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
162.56 ms | 1908 KiB | 15 Q