3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ 'content_type' => [ 'story', 'delhi', 'tez' ], 'type' => [ 'video_id', 'subcategory', 'story_id' ], 'fetch_id' => [ 32, 32, 2 ], 'order' => [ 6, 4, 5 ], 'label' => [ 'dsfs fdsf dsf sdf', 'dfsdfs', 'sdfsdfsd' ], 'link' => [ 'fsd fsdf sdf', 'fsdfsdfdsf', 'fsdfdsfds' ], 'record' => [ 10, 8, 12 ] ]; $params[] = $array['order']; foreach ($array as &$params[]); array_multisort(...$params); var_export($array);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 125) Position 1 = 5, Position 2 = 9
Branch analysis from position: 5
2 jumps found. (Code = 126) Position 1 = 6, Position 2 = 9
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
filename:       /in/5bgq0
function name:  (null)
number of ops:  18
compiled vars:  !0 = $array, !1 = $params
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   41     1        FETCH_DIM_R                                      ~4      !0, 'order'
          2        ASSIGN_DIM                                               !1
          3        OP_DATA                                                  ~4
   42     4      > FE_RESET_RW                                      $5      !0, ->9
          5    > > FE_FETCH_RW                                              $5, $6, ->9
          6    >   FETCH_DIM_W                                      $7      !1
          7        ASSIGN_REF                                               $7, $6
          8      > JMP                                                      ->5
          9    >   FE_FREE                                                  $5
   43    10        INIT_FCALL                                               'array_multisort'
         11        SEND_UNPACK                                              !1
         12        CHECK_UNDEF_ARGS                                         
         13        DO_ICALL                                                 
   45    14        INIT_FCALL                                               'var_export'
         15        SEND_VAR                                                 !0
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.42 ms | 955 KiB | 15 Q