note 73824 added to function.array-count-values

From: Date: Mon, 12 Mar 2007 08:55:49 +0000
Subject: note 73824 added to function.array-count-values
Groups: php.notes 
Request: Send a blank email to php-notes+get-124366@lists.php.net to get a copy of this message
Well I found a solution, which can be applied on my own situation. I have an array with integer values '0', but also some double values if a value is presented. With serialize I noticed this. So the first thing I did is making the values integer. How? With intval(); ---- Server IP: 212.124.37.9 Probable Submitter: 193.141.235.227 ---- Manual Page -- http://www.php.net/manual/en/function.array-count-values.php Edit -- https://master.php.net/note/edit/73824 Del: integrated -- https://master.php.net/note/delete/73824/integrated Del: useless -- https://master.php.net/note/delete/73824/useless Del: bad code -- https://master.php.net/note/delete/73824/bad+code Del: spam -- https://master.php.net/note/delete/73824/spam Del: non-english -- https://master.php.net/note/delete/73824/non-english Del: in docs -- https://master.php.net/note/delete/73824/in+docs Del: other reasons-- https://master.php.net/note/delete/73824 Reject -- https://master.php.net/note/reject/73824 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#124366) next »