[Tickets #10965] call-time pass-by-reference in Horde_Auth

bugs at horde.org bugs at horde.org
Mon Feb 6 14:46:59 UTC 2012


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/10965
------------------------------------------------------------------------------
  Ticket             | 10965
  Created By         | math.parent at gmail.com
  Summary            | call-time pass-by-reference in Horde_Auth
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Enhancement
  State              | New
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


math.parent at gmail.com (2012-02-06 14:46) wrote:

call-time pass-by-reference, has always been optional.

According to http://php.net/manual/en/language.references.pass.php:
<<<
As of PHP 5.3.0, you will get a warning saying that "call-time  
pass-by-reference" is deprecated when you use & in foo(&$a);.
>>>
This is now fatal under PHP 5.4.

See attached patch for "framework/Auth/lib/Horde/Auth/Pam.php", to fix  
this for Horde_Auth.

See original report at http://bugs.debian.org/658870



math.parent at gmail.com (2012-02-06 14:46) uploaded: Pam.php.diff

http://bugs.horde.org/h/services/download/?module=whups&actionID=download_file&file=Pam.php.diff&ticket=10965&fn=%2FPam.php.diff





More information about the bugs mailing list