php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #40657 ksort () - call-time pass-by-reference has been deprecated
Submitted: 2007-02-27 10:54 UTC Modified: 2007-02-27 11:01 UTC
From: vadim at cyberdot dot ru Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: vadim at cyberdot dot ru
New email:
PHP Version: OS:

 

 [2007-02-27 10:54 UTC] vadim at cyberdot dot ru
Description:
------------
In the function ksort () description that the first argument must be handed over by reference. When running the script will issue a warning - "Call-time pass has been deprecated-argument passed by value".


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-02-27 11:01 UTC] tony2001@php.net
The error message is valid, there is not need to use &, the first argument is passed by reference anyway.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 15 21:01:32 2025 UTC