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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 08:01:28 2024 UTC