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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 02:01:29 2024 UTC