Re: cvs: pear /Auth Auth.php
| From: | Greg Beaver | Date: | Tue, 16 Mar 2004 15:21:26 +0000 |
| Subject: | Re: cvs: pear /Auth Auth.php | ||
| References: | 1 2 | Groups: | php.pear.cvs |
| Request: | Send a blank email to pear-cvs+get-17457@lists.php.net to get a copy of this message | ||
I always circumvent this warning with call_user_func_array($this->loginCallback, array($this->username, &$this));
Greg
Martin Jansen wrote:
On Tue Mar 16, 2004 at 07:4908AM -0000, Yavor Shahpasov wrote:I haven't double checked that yet, but won't this raise a warning when allow_call_time_pass_reference is set to Off?- call_user_func($this->loginCallback,$this->username, $this); + call_user_func($this->loginCallback,$this->username, &$this);