| Version | Description |
|---|---|
| 7.2.0 | count() will now yield a warning on invalid countable types passed to the array_or_countable parameter. |
count(): Parameter must be an array or an object that implements Countable
最新推荐文章于 2025-04-30 17:26:40 发布
本文介绍PHP 7.2.0中count()函数的变化:当传递无效的countable类型参数时,会触发警告。此更新有助于开发者更早地发现并修复代码中的错误。
1万+

被折叠的 条评论
为什么被折叠?



