3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array ( 0 => 'nested array', 1 => 'nested array', 2 => 'nested array', 3 => 'nested array', 4 => 'nested array', 5 => 'nested array', ); var_dump(key(array_diff(array_keys(array_values($arr)), array_keys($arr))));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Tm7Ua
function name:  (null)
number of ops:  21
compiled vars:  !0 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   12     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'key'
          3        INIT_FCALL                                               'array_diff'
          4        INIT_FCALL                                               'array_keys'
          5        INIT_FCALL                                               'array_values'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $2      
          8        SEND_VAR                                                 $2
          9        DO_ICALL                                         $3      
         10        SEND_VAR                                                 $3
         11        INIT_FCALL                                               'array_keys'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                         $4      
         14        SEND_VAR                                                 $4
         15        DO_ICALL                                         $5      
         16        SEND_VAR                                                 $5
         17        DO_ICALL                                         $6      
         18        SEND_VAR                                                 $6
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.78 ms | 1395 KiB | 23 Q