php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20846 bug in bugs.php.net php-scripts
Submitted: 2002-12-05 17:20 UTC Modified: 2002-12-07 07:05 UTC
From: php at stellar dot pp dot fi Assigned:
Status: Closed Package: Website problem
PHP Version: 4.3.0RC2 OS: -
Private report: No CVE-ID: None
 [2002-12-05 17:20 UTC] php at stellar dot pp dot fi
Just thought I'd mention that bugstats.php with an unexpected phpver argument gets "dirty".. 

Nothing critical - just warnings, but still.

Example:
http://bugs.php.net/bugstats.php?phpver=5

Produces:
--------------------------------------------------
Warning: Invalid argument supplied for foreach() in /local/Web/sites/php-bugs-web/bugstats.php on line 53

Warning: arsort() expects parameter 1 to be array, null given in /local/Web/sites/php-bugs-web/bugstats.php on line 71

Warning: Invalid argument supplied for foreach() in /local/Web/sites/php-bugs-web/bugstats.php on line 117

...

Warning: Unable to jump to row 0 on MySQL result index 6 in /local/Web/sites/php-bugs-web/bugstats.php on line 160


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-07 07:05 UTC] goba@php.net
I have added some code now to detect if there are no bugs for a particular version and print out an error message.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Jun 16 16:00:01 2026 UTC