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); var_dump($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/QBSe6
function name:  (null)
number of ops:  16
compiled vars:  !0 = $some_array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   10     1        INIT_FCALL                                               'ksort'
          2        SEND_REF                                                 !0
          3        DO_ICALL                                                 
   11     4        INIT_FCALL                                               'var_dump'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                                 
   12     7        INIT_FCALL                                               'join'
          8        SEND_VAL                                                 ''
          9        INIT_FCALL                                               'array_keys'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $4      
         12        SEND_VAR                                                 $4
         13        DO_ICALL                                         $5      
         14        ECHO                                                     $5
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.94 ms | 1394 KiB | 21 Q