Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #7209

Re: Count how many times a value occurs in an array

From Christoph Becker <cmbecker69@gmx.de>
Newsgroups comp.lang.php
Subject Re: Count how many times a value occurs in an array
Date 2012-09-28 17:40 +0200
Organization Aioe.org NNTP Server
Message-ID <k44gcj$16i$1@speranza.aioe.org> (permalink)
References <475e0b6d-5e6e-4a60-9ec8-21f068bc3913@googlegroups.com> <c8b9fe91-9d7b-4918-b910-835c50399743@h4g2000yqo.googlegroups.com> <5064339a$0$6841$e4fe514c@news2.news.xs4all.nl> <4cd86ca2-d555-4873-b65c-0b0b907b17ed@p5g2000vbl.googlegroups.com>

Show all headers | View raw


Captain Paralytic wrote:
> Those first 2 weren't what I was having particular trouble with. The
> rest of it is total nonsense!

I suppose, what was meant is:

Just wondering, if PHP has a built in function to make this easy, or do
I have to roll my own (by looping through the array)?

-- 
Christoph M. Becker

Back to comp.lang.php | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Count how many times a value occurs in an array Ryan <rbilesky@gmail.com> - 2012-09-26 23:25 -0700
  Re: Count how many times a value occurs in an array aroniss@gmail.com - 2012-09-27 00:10 -0700
  Re: Count how many times a value occurs in an array Captain Paralytic <paul_lautman@yahoo.com> - 2012-09-27 03:48 -0700
    Re: Count how many times a value occurs in an array Erwin Moller <erwinmollerusenet@xs4all.nl> - 2012-09-27 13:08 +0200
      Re: Count how many times a value occurs in an array "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-09-27 18:19 +0200
        Re: Count how many times a value occurs in an array Ryan <rbilesky@gmail.com> - 2012-09-27 10:04 -0700
        Re: Count how many times a value occurs in an array Ryan <rbilesky@gmail.com> - 2012-09-27 10:14 -0700
          Re: Count how many times a value occurs in an array "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-09-27 19:43 +0200
            Re: Count how many times a value occurs in an array Christoph Becker <cmbecker69@gmx.de> - 2012-09-27 20:07 +0200
              Re: Count how many times a value occurs in an array "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-09-27 23:52 +0200
                Re: Count how many times a value occurs in an array Christoph Becker <cmbecker69@gmx.de> - 2012-09-28 00:07 +0200
                array_walk() callback Was: Count how many times a value occurs in an array "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-09-28 10:04 +0200
          Re: Count how many times a value occurs in an array Jerry Stuckle <jstucklex@attglobal.net> - 2012-09-27 18:26 -0400
      Re: Count how many times a value occurs in an array Captain Paralytic <paul_lautman@yahoo.com> - 2012-09-28 07:35 -0700
        Re: Count how many times a value occurs in an array Christoph Becker <cmbecker69@gmx.de> - 2012-09-28 17:40 +0200

csiph-web