php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18453 count seems buggy
Submitted: 2002-07-21 04:53 UTC Modified: 2002-10-15 23:08 UTC
From: yohgaki@php.net Assigned: yohgaki (profile)
Status: Closed Package: PostgreSQL related
PHP Version: 4CVS-2002-07-21 OS: any
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: yohgaki@php.net
New email:
PHP Version: OS:

 

 [2002-07-21 04:53 UTC] yohgaki@php.net
It seems count() is buggy. (php_count_recursive)

While I can print with var_dump() or print_r(), count() crashes with many elements. I don't have exact case, but it could be easily reproducible with pg_fetch_all().


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-21 04:58 UTC] yohgaki@php.net
It seems I need to look into my code...
 [2002-10-01 20:43 UTC] sniper@php.net
Yasuo, what's the status on this one?
And is this pgsql related or not?

 [2002-10-01 20:57 UTC] yohgaki@php.net
?????Ǥ???

 [2002-10-01 20:58 UTC] yohgaki@php.net
I forgot about this. Changed category to postgresql, so that I don't forget. I haven'T test if latest CVS source is ok or not. Cannot find the test case now :(
 [2002-10-01 20:59 UTC] yohgaki@php.net
Stupid copy&paste error in comment :)
Never mind.
 [2002-10-15 23:08 UTC] yohgaki@php.net
It seems the problem is gone now.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 06 17:01:33 2025 UTC