3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.77 ms | 1394 KiB | 19 Q