3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
258.83 ms | 1001 KiB | 15 Q