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
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: 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: Wed Jul 16 01:01:32 2025 UTC