3v4l.org

run code in 500+ PHP versions simultaneously
<?php $array = array( array( 'sort' => 1, 'ques' => 'Zing order' ), array( 'sort' => 1, 'ques' => 'How stackoverflow works?' ), array( 'sort' => 2, 'ques' => 'What is PHP' ) ); array_multisort(array_column($array, 'sort'), SORT_ASC, array_column($array, 'ques'), SORT_ASC, $array); print_r($array); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ofeZG
function name:  (null)
number of ops:  20
compiled vars:  !0 = $array
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, <array>
   16     1        INIT_FCALL                                                   'array_multisort'
          2        INIT_FCALL                                                   'array_column'
          3        SEND_VAR                                                     !0
          4        SEND_VAL                                                     'sort'
          5        DO_ICALL                                             $2      
          6        SEND_VAL                                                     $2
          7        SEND_VAL                                                     4
   17     8        INIT_FCALL                                                   'array_column'
          9        SEND_VAR                                                     !0
         10        SEND_VAL                                                     'ques'
         11        DO_ICALL                                             $3      
         12        SEND_VAL                                                     $3
         13        SEND_VAL                                                     4
   18    14        SEND_REF                                                     !0
   16    15        DO_ICALL                                                     
   19    16        INIT_FCALL                                                   'print_r'
         17        SEND_VAR                                                     !0
         18        DO_ICALL                                                     
   20    19      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
165.16 ms | 2067 KiB | 16 Q