3v4l.org

run code in 300+ PHP versions simultaneously
<?php $all_works = [ ["title"=>"A Children’s Story", "year"=>"2024"], ["title"=>"Occurred during the Day", "year"=>"2021"], ["title"=>"Future and Past", "year"=>"2021"], ["title"=>"Future and History", "year"=>"2020"], ["title"=>"Open the School, Close the Studio", "year"=>"2023"], ["title"=>"To Reconstruct, To Rebuild", "year"=>"2024"], ["title"=>"Eyeglasses, a Story", "year"=>"2023"], ["title"=>"Nomadic Life11", "year"=>"2024"], ["title"=>"Nomadic Life2", "year"=>"2024"], ["title"=>"Nomadic Life", "year"=>"2024"], ["title"=>"Chipotle!", "year"=>"2022"], ["title"=>"between Art & Technology", "year"=>"2020"], ["title"=>"interview Script", "year"=>"2018"], ["title"=>"memories and confession", "year"=>"2024"], ["title"=>"Guest of Pluto", "year"=>"2022"], ["title"=>"A Prologue", "year"=>"2022"], ["title"=>"You are in this place", "year"=>"2023"], ["title"=>"Happening Now", "year"=>"2024"], ["title"=>"Review Catalogue", "year"=>"2022"], ["title"=>"A living being of Mars", "year"=>"2021"], ]; array_multisort( array_column($all_works, 'year'), SORT_DESC, array_column($all_works, 'title'), SORT_STRING | SORT_NATURAL, $all_works ); var_export($all_works);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Jb7WT
function name:  (null)
number of ops:  20
compiled vars:  !0 = $all_works
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   26     1        INIT_FCALL                                               'array_multisort'
   27     2        INIT_FCALL                                               'array_column'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 'year'
          5        DO_ICALL                                         $2      
          6        SEND_VAL                                                 $2
   28     7        SEND_VAL                                                 3
   29     8        INIT_FCALL                                               'array_column'
          9        SEND_VAR                                                 !0
         10        SEND_VAL                                                 'title'
         11        DO_ICALL                                         $3      
         12        SEND_VAL                                                 $3
   30    13        SEND_VAL                                                 6
   31    14        SEND_REF                                                 !0
   26    15        DO_ICALL                                                 
   34    16        INIT_FCALL                                               'var_export'
         17        SEND_VAR                                                 !0
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.78 ms | 1011 KiB | 16 Q