Bug #64227 [Asn]: current() function does not require a reference

From: Date: Wed, 20 Feb 2013 04:02:09 +0000
Subject: Bug #64227 [Asn]: current() function does not require a reference
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-9567@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=64227&edit=1 ID: 64227 Updated by: laruence@php.net Reported by: schmittjoh at gmail dot com Summary: current() function does not require a reference Status: Assigned Type: Bug Package: Documentation problem PHP Version: Irrelevant Assigned To: kriscraig Block user comment: N Private report: N New Comment: actually, it is not a bug, current declares prefer send_by_ref. Previous Comments: ------------------------------------------------------------------------ [2013-02-19 18:30:45] kriscraig@php.net Confirmed. Doc entry will need to be corrected. ------------------------------------------------------------------------ [2013-02-16 11:12:54] schmittjoh at gmail dot com Description: ------------ The API documentation for `current()` currently declares the first parameter to be a reference. In fact however, it accepts any expression, not only references. http://www.php.net/manual/en/function.current.php ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=64227&edit=1

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