3v4l.org

run code in 300+ PHP versions simultaneously
<?php $some_array = array (0 => 1, 'x'=> 1, 2 => 1, 'a'=> 1, 1 => 1, 'z'=> 1); ksort($some_array); echo(join("", array_keys($some_array)));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qNFAs
function name:  (null)
number of ops:  13
compiled vars:  !0 = $some_array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        INIT_FCALL                                               'ksort'
          2        SEND_REF                                                 !0
          3        DO_ICALL                                                 
    4     4        INIT_FCALL                                               'join'
          5        SEND_VAL                                                 ''
          6        INIT_FCALL                                               'array_keys'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $3      
          9        SEND_VAR                                                 $3
         10        DO_ICALL                                         $4      
         11        ECHO                                                     $4
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.52 ms | 1385 KiB | 19 Q