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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
49 - 1 = ?
Subscribe to this entry?

 
 [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: Thu May 02 09:01:28 2024 UTC