3v4l.org

run code in 300+ PHP versions simultaneously
<?php $resolutions = array ( "Desktop monitor" => array ( //Standard 4:3 "800x600" => "800x600", "1024x768" => "1024x768", "1600x1200" => "1600x1200", //Wide 16:10 "960x600" => "960x600", "1280x800" => "1280x800", "1440x900" => "1440x900", "1680x1050" => "1680x1050", "1920x1200" => "1920x1200", ), "Apple" => array ( "DeviceX" => "2048x1536", "DeviceY" => "1024x768", ), ); array_walk( $resolutions, function (&$row) { asort($row, SORT_NATURAL); } ); var_export($resolutions);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rEXU4
function name:  (null)
number of ops:  10
compiled vars:  !0 = $resolutions
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   22     1        INIT_FCALL                                               'array_walk'
   23     2        SEND_REF                                                 !0
   24     3        DECLARE_LAMBDA_FUNCTION                          ~2      [0]
   26     4        SEND_VAL                                                 ~2
   22     5        DO_ICALL                                                 
   28     6        INIT_FCALL                                               'var_export'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                                 
          9      > RETURN                                                   1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rEXU4
function name:  {closure}
number of ops:  6
compiled vars:  !0 = $row
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   24     0  E >   RECV                                             !0      
   25     1        INIT_FCALL                                               'asort'
          2        SEND_REF                                                 !0
          3        SEND_VAL                                                 6
          4        DO_ICALL                                                 
   26     5      > RETURN                                                   null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.83 ms | 1006 KiB | 16 Q