note 74885 added to function.array-count-values

From: Date: Wed, 02 May 2007 08:54:08 +0000
Subject: note 74885 added to function.array-count-values
Groups: php.notes 
Request: Send a blank email to php-notes+get-126115@lists.php.net to get a copy of this message
Is there an array function that counts the number of array elements??? e.g: $names = array( 0 => 'cian', 1 => false, 2 => 'aiza', 3 => null, 4 => '', 5 => 'hannah', 6 => 'william' ); ---i need a function that determines number of array let say the example above : it has 6 array elements... ---- Server IP: 69.147.83.197 Probable Submitter: 58.69.136.128 ---- Manual Page -- http://www.php.net/manual/en/function.array-count-values.php Edit -- https://master.php.net/note/edit/74885 Del: integrated -- https://master.php.net/note/delete/74885/integrated Del: useless -- https://master.php.net/note/delete/74885/useless Del: bad code -- https://master.php.net/note/delete/74885/bad+code Del: spam -- https://master.php.net/note/delete/74885/spam Del: non-english -- https://master.php.net/note/delete/74885/non-english Del: in docs -- https://master.php.net/note/delete/74885/in+docs Del: other reasons-- https://master.php.net/note/delete/74885 Reject -- https://master.php.net/note/reject/74885 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#126115) next »