3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.38 ms | 997 KiB | 15 Q