Doc #63387 [Opn->Wfx]: As of PHP 5.4.x function asort no longer accepts pass-by-reference parameters.

From: Date: Tue, 30 Oct 2012 06:06:19 +0000
Subject: Doc #63387 [Opn->Wfx]: As of PHP 5.4.x function asort no longer accepts pass-by-reference parameters.
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-9031@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=63387&edit=1 ID: 63387 Updated by: aharvey@php.net Reported by: php at heramb dot net Summary: As of PHP 5.4.x function asort no longer accepts pass-by-reference parameters. -Status: Open +Status: Wont fix Type: Documentation Problem Package: Documentation problem Operating System: RHEL 6.x PHP Version: 5.4.7RC1 Block user comment: N Private report: N New Comment: Yep, this was a language wide change, not a function specific one. Previous Comments: ------------------------------------------------------------------------ [2012-10-30 03:14:05] 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-29 19:20:15] 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. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=63387&edit=1

« previous php.doc.bugs (#9031) next »