php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #63387 As of PHP 5.4.x function asort no longer accepts pass-by-reference parameters.
Submitted: 2012-10-29 19:20 UTC Modified: 2012-10-30 06:06 UTC
From: php at heramb dot net Assigned:
Status: Wont fix Package: Documentation problem
PHP Version: 5.4.7RC1 OS: RHEL 6.x
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: php at heramb dot net
New email:
PHP Version: OS:

 

 [2012-10-29 19:20 UTC] php at heramb dot net
Description:
------------
---
From manual page: http://www.php.net/function.asort#refsect1-function.asort-
description
---

As of PHP 5.4.x function asort no longer accepts pass-by-reference parameters. 
Php.net website documentation should reflect this somehow. There is not even a 
deprecation warning on the page.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-10-30 03:14 UTC] spam-free at blueyonder dot co dot uk
This is not a change to the asort function, PHP 5.4 removes call-time pass-by-
reference. See the migration guide for more info.
 [2012-10-30 06:06 UTC] aharvey@php.net
Yep, this was a language wide change, not a function specific one.
 [2012-10-30 06:06 UTC] aharvey@php.net
-Status: Open +Status: Wont fix
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 05:01:27 2025 UTC