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
 [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 23:01:33 2025 UTC