3v4l.org

run code in 300+ PHP versions simultaneously
<?php $layout_array = array ( 0 => array ( 'row_identifier' => 'home', 'row_text_title' => 'home', 'original_row_position' => 1, 'row_position' => 1, 'row_show' => 'yes', 'row_link_ref' => 'https://demo.ul', 'button_styling' => 'off', 'tab' => 'self' ), 1 => array ( 'row_identifier' => 'benefits', 'row_text_title' => 'benefits', 'row_link_ref' => '#benefits', 'button_styling' => 'off', 'tab' => 'self', 'row_position' => 2, 'original_row_position' => 2, 'row_show' => 'yes' ), 3 => array ( 'row_identifier' => 'about', 'row_text_title' => 'about', 'row_link_ref' => '#about', 'button_styling' => 'off', 'tab' => 'self', 'row_show' => 'no' ), 4 => array ( 'row_identifier' => 'team', 'row_text_title' => 'team', 'row_link_ref' => '#team', 'button_styling' => 'off', 'tab' => 'self', 'row_position' => 4, 'original_row_position' => 4, 'row_show' => 'yes' ) ); $sort_by_column = 'row_identifier'; array_multisort(array_column($layout_array, $sort_by_column), $layout_array); print_r($layout_array);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nZfWS
function name:  (null)
number of ops:  14
compiled vars:  !0 = $layout_array, !1 = $sort_by_column
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   46     1        ASSIGN                                                   !1, 'row_identifier'
   47     2        INIT_FCALL                                               'array_multisort'
          3        INIT_FCALL                                               'array_column'
          4        SEND_VAR                                                 !0
          5        SEND_VAR                                                 !1
          6        DO_ICALL                                         $4      
          7        SEND_VAL                                                 $4
          8        SEND_REF                                                 !0
          9        DO_ICALL                                                 
   48    10        INIT_FCALL                                               'print_r'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
233.06 ms | 1001 KiB | 16 Q