vimeo/psalm
在 GitHub 查看implode(<non-false-string>, array) should produce non-falsy-string
Open
#7,055 创建于 2021年12月4日
Help wantedeasy problemsenhancementtype providers
仓库指标
- Star
- (5,369 star)
- PR 合并指标
- (平均合并 3天 12小时) (30 天内合并 5 个 PR)
描述
When the first argument is a non-falsy-string and the second argument has at least two elements, then the result is guaranteed to be at least non-falsy-string.
<?php
if(implode(' ', ['',''])) echo 1;