php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #23923 Wrong problematic version listed on array_sum()'s page
Submitted: 2003-05-31 10:11 UTC Modified: 2003-05-31 10:14 UTC
From: andrey@php.net Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.3.2 OS: all
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: andrey@php.net
New email:
PHP Version: OS:

 

 [2003-05-31 10:11 UTC] andrey@php.net
 On array_sum()'s page it's said :
"
Note: PHP versions prior to 4.0.6 modified the passed array itself and converted strings to numbers (which most of the time converted them to zero, depending on their value).
"
According to 2 user comments, two tests, and extract from the changelog of 4.2.1 (Fixed a couple of bugs in array_sum() and array_merge(). (Andrei))

So, the version should be changed to 4.2.1 (it works with 4.2.2)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-05-31 10:14 UTC] philip@php.net
This bug has been fixed in CVS and will show up during the next manual build, thanks for the report :)

http://cvs.php.net/cvs.php/phpdoc/en/reference/array/functions/array-sum.xml
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Nov 19 13:00:01 2025 UTC