Doc #80999 [Opn->Csd]: count() TypeError not documented
| From: | git@php.net | Date: | Thu, 29 Apr 2021 13:18:52 +0000 |
| Subject: | Doc #80999 [Opn->Csd]: count() TypeError not documented | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-18740@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=80999&edit=1
ID: 80999
Updated by: git@php.net
Reported by: sritter at satoya dot cz
Summary: count() TypeError not documented
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: *General Issues
Operating System: Linux Debian
PHP Version: 8.0.3
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of thinkverse (author) and web-flow (committer)
Revision: https://github.com/php/doc-en/commit/a7663ad05e1a825c2ca61810a9b8d45e940a2afc
Log: Fix #80999: count TypeError not documented
Previous Comments:
------------------------------------------------------------------------
[2021-04-28 22:52:47] hallberg dot kim at gmail dot com
The following pull request has been associated:
Patch Name: [80999] Fix count TypeError not documented
On GitHub: https://github.com/php/doc-en/pull/556
Patch: https://github.com/php/doc-en/pull/556.patch
------------------------------------------------------------------------
[2021-04-28 14:49:20] nikic@php.net
Missing a changelog entry and updates to the examples.
------------------------------------------------------------------------
[2021-04-28 14:40:50] sritter at satoya dot cz
Description:
------------
$a[7]=7;
echo count($a[8]); // fatal error
// Warnig is Ok, but Fatal error?
Expected result:
----------------
produce Warning as is described in documentation.
(not Fatal error)
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=80999&edit=1