2026-04-02 09:10 UTC
TIL I was today years old when I learned that `@ param array` and `@ param` list in PHPDoc have different meanings:
- array → for associative arrays (with keys)
- list → for indexed arrays (just numbers)
🤯 #PHP
Replies (1)
-
@ocramius@mastodon.social 2026-04-02 09:13
@lmillucci@mastodon.uno also, lists force packed arrays 👍