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', ); $arr[null] = 'jam'; var_dump(key(array_diff(array_keys(array_values($arr)), array_keys($arr))))?:NULL;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qAJYd
function name:  (null)
number of ops:  26
compiled vars:  !0 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   11     1        ASSIGN_DIM                                               !0, null
          2        OP_DATA                                                  'jam'
   13     3        INIT_FCALL                                               'var_dump'
          4        INIT_FCALL                                               'key'
          5        INIT_FCALL                                               'array_diff'
          6        INIT_FCALL                                               'array_keys'
          7        INIT_FCALL                                               'array_values'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $3      
         10        SEND_VAR                                                 $3
         11        DO_ICALL                                         $4      
         12        SEND_VAR                                                 $4
         13        INIT_FCALL                                               'array_keys'
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                         $5      
         16        SEND_VAR                                                 $5
         17        DO_ICALL                                         $6      
         18        SEND_VAR                                                 $6
         19        DO_ICALL                                         $7      
         20        SEND_VAR                                                 $7
         21        DO_ICALL                                         $8      
         22        JMP_SET                                          ~9      $8, ->24
         23        QM_ASSIGN                                        ~9      null
         24        FREE                                                     ~9
         25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.66 ms | 1395 KiB | 23 Q