Home » Authentication » Auth » Bug #3664
call-time pass-by-reference error on line 430
Details
| Submitted | 2005-03-02 05:47 UTC |
|---|---|
| From | slack dot r00t at gmail dot com |
| Assigned | aashley |
| Status | Closed |
| Package | Auth |
| PHP Version | 4.3.10 |
| OS | Slackware 10.1 |
| Roadmaps | (Not assigned) |
Comments
[2005-03-02 05:47 UTC] slack dot r00t at gmail dot com
Description:
------------
PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you wouldlike to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /usr/lib/php/Auth.php on line 430
Note:
my php.ini allow_call_time_xxx is set to off. I've coded the 1st example and this error prompts me.Thanks.
[2005-08-22 08:25 UTC] morpheu5 at infinito dot it
This is still bugging me, using Auth-1.3.0r3 and PHP 5.1.0b3 on Windows XP SP2. I can't understand where to use eval() function, anyway... did anyone fixed the bug?
[2005-08-22 08:54 UTC] morpheu5 at infinito dot it
In file Auth.php at line 430:
- return $this->drawLogin($this->username, $this);
+ return $this->drawLogin($this->username, '$this');
This works for me (see my previous comment).
[2006-02-21 05:43 UTC] aashley at php dot net
This bug has been fixed in CVS.
If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET).
If this was a problem with the pear.php.net website, the change should be live shortly.
Otherwise, the fix will appear in the package's next release.
Thank you for the report and for helping us make PEAR better.