3v4l.org

run code in 300+ PHP versions simultaneously
<?php $Vals = array( '2.1.13' => 'c', '1.1.2' => 'a', '2.1.3' => 'b', '2.11.2' => 'e', '3.22.22' => 'f', '4.1.1' => 'h', '3.111.3' => 'g', '2.2.2' => 'd', ); ksort($Vals, SORT_NATURAL); var_export($Vals);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Bn5W6
function name:  (null)
number of ops:  9
compiled vars:  !0 = $Vals
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   13     1        INIT_FCALL                                               'ksort'
          2        SEND_REF                                                 !0
          3        SEND_VAL                                                 6
          4        DO_ICALL                                                 
   14     5        INIT_FCALL                                               'var_export'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.45 ms | 997 KiB | 15 Q