3v4l.org

run code in 300+ PHP versions simultaneously
<?php $list = array( '11' => 'Z', '12' => 'A', '13' => 'B', '09' => 'C', '15' => 'Y' ); echo "Before sorting:\n"; print_r($list); asort($list); echo "\nAfter sorting:\n"; print_r($list);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/k2uQ1
function name:  (null)
number of ops:  13
compiled vars:  !0 = $list
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    9     1        ECHO                                                     'Before+sorting%3A%0A'
   10     2        INIT_FCALL                                               'print_r'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                                 
   11     5        INIT_FCALL                                               'asort'
          6        SEND_REF                                                 !0
          7        DO_ICALL                                                 
   12     8        ECHO                                                     '%0AAfter+sorting%3A%0A'
   13     9        INIT_FCALL                                               'print_r'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.84 ms | 1394 KiB | 17 Q