apache / apache/netbeans

PHP Hint - Duplicate array keys

Open
#9,496 0 comments 0 reactions 0 assignees View on GitHub
kind:feature needs:triage PHP
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Description

I would like NetBeans to highlight in editor when an array has the same key defined multiple times.

### Use case/motivation

This will allow to catch errors when a duplicate key was added by accident.

### Related issues

_No response_

### Are you willing to submit a pull request?

No

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by locating NetBeans' PHP editor inspections and existing array-key diagnostics; done means the editor reliably highlights duplicate keys in PHP arrays and includes coverage for the behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.