6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
9/7/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#10965] call-time pass-by-reference in Horde_Auth
*
Your Email Address
*
Spam protection
Enter the letters below:
\ /.__ . ,.___. . >< [__) \./ [__ |\ | / \| | | | \|
Comment
> This is not pass-by-reference which is deprecated but call-time > pass-by-reference. > > i.e: > function foo(&$arg) { } > is accepted > > but > $var = foo(&$arg) > is not in php 5.4. > > According to source [1] and doc [2], argument &$error of pam_auth and > pam_chpass, is passed by reference. > > So > pam_auth($username, $password , $error) > and pam_auth($username, $password , &$error) > are equivalent, but the second form will throw a fatal error on php 5.4. > > [1]: http://svn.php.net/viewvc/pecl/pam/trunk/pam.c?view=markup > [2]: http://svn.php.net/viewvc/pecl/pam/trunk/README?view=markup
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers