Doc #80999 [PATCH]: count() TypeError not documented

From: Date: Wed, 28 Apr 2021 22:52:47 +0000
Subject: Doc #80999 [PATCH]: count() TypeError not documented
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-18739@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 Patch added by: hallberg.kim@gmail.com Reported by: sritter at satoya dot cz Summary: count() TypeError not documented Status: Open Type: Documentation Problem Package: *General Issues Operating System: Linux Debian PHP Version: 8.0.3 Block user comment: N Private report: N New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [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

« previous php.doc.bugs (#18739) next »