vimeo/psalm

implode(<string>, non-empty-list<string>) doesn't always result in non-empty-string

开放

#6,866 创建于 2021年11月8日

 (5 条评论) (0 个反应) (0 位负责人)PHP (668 个派生)batch import
Help wantedbugeasy problemsgood first issueinternal stubs/callmap

仓库指标

星标
 (5,369 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

https://psalm.dev/r/9b7a45c338

The weird edge case of implode('asdf', ['']); can result in an empty string. Similarly if the first argument is an empty string then an array of any amount of empty strings will also produce an empty string

贡献者指南