3v4l.org

run code in 300+ PHP versions simultaneously
<?php $name1 = "name1"; $name2 = "name2"; $teams_name_points[$name1] = 1; $teams_name_points[$name2] = 2; var_dump(ksort($teams_name_points)); var_dump($teams_name_points);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Vmh2W
function name:  (null)
number of ops:  16
compiled vars:  !0 = $name1, !1 = $name2, !2 = $teams_name_points
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'name1'
    4     1        ASSIGN                                                   !1, 'name2'
    5     2        ASSIGN_DIM                                               !2, !0
          3        OP_DATA                                                  1
    6     4        ASSIGN_DIM                                               !2, !1
          5        OP_DATA                                                  2
    8     6        INIT_FCALL                                               'var_dump'
          7        INIT_FCALL                                               'ksort'
          8        SEND_REF                                                 !2
          9        DO_ICALL                                         $7      
         10        SEND_VAR                                                 $7
         11        DO_ICALL                                                 
    9    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAR                                                 !2
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.63 ms | 1394 KiB | 17 Q