note 89130 added to function.count

From: Date: Mon, 23 Feb 2009 18:42:12 +0000
Subject: note 89130 added to function.count
Groups: php.notes 
Request: Send a blank email to php-notes+get-151024@lists.php.net to get a copy of this message
count('') returning 1 does make sense. The number of element in the empty set is 1. Just because that element is lambda doesn't mean that it isn't part of the set. ---- Server IP: 64.71.164.2 Probable Submitter: 70.129.225.173 ---- Manual Page -- http://www.php.net/manual/en/function.count.php Edit -- https://master.php.net/note/edit/89130 Del: integrated -- https://master.php.net/note/delete/89130/integrated Del: useless -- https://master.php.net/note/delete/89130/useless Del: bad code -- https://master.php.net/note/delete/89130/bad+code Del: spam -- https://master.php.net/note/delete/89130/spam Del: non-english -- https://master.php.net/note/delete/89130/non-english Del: in docs -- https://master.php.net/note/delete/89130/in+docs Del: other reasons-- https://master.php.net/note/delete/89130 Reject -- https://master.php.net/note/reject/89130 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#151024) next »