3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
173.38 ms | 1900 KiB | 15 Q