Bug->Doc #80999 [Opn]: count() TypeError not documented

From: Date: Wed, 28 Apr 2021 14:49:20 +0000
Subject: Bug->Doc #80999 [Opn]: count() TypeError not documented
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-18738@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: nikic@php.net Reported by: sritter at satoya dot cz -Summary: count() produce Fatal Error +Summary: count() TypeError not documented Status: Open -Type: Bug +Type: Documentation Problem Package: *General Issues Operating System: Linux Debian PHP Version: 8.0.3 Block user comment: N Private report: N New Comment: Missing a changelog entry and updates to the examples. Previous Comments: ------------------------------------------------------------------------ [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 (#18738) next »