RE: [PHP-WIN] Warnings...
| From: | Daniel Reichenbach | Date: | Thu, 11 Apr 2002 14:18:18 +0000 |
| Subject: | RE: [PHP-WIN] Warnings... | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-13029@lists.php.net to get a copy of this message | ||
Try using:
allow_call_time_pass_reference = On
in your php.ini. This should turn the warning off.
Daniel
> -----Original Message-----
> From: Martin.Andrew [mailto:Martin.Andrew@kpmg-ct.com]
> Sent: Thursday, April 11, 2002 3:35 PM
> To: Php-Windows
> Cc: Daniel Reichenbach
> Subject: RE: [PHP-WIN] Warnings...
>
>
> Anyone know a way of turning WARNINGS off with the ini_set()
> function? I can't find it in the list of changeable options!
>
>
>
>
>
> -----Original Message-----
> From: Daniel Reichenbach [mailto:daniel.reichenbach@pixum.com]
> Sent: 11 April 2002 14:26
> To: Php-Windows
> Subject: RE: [PHP-WIN] Warnings...
>
>
> The only reference i found is here:
> http://www.php.net/manual/en/function.ini-> set.php
>
> But no
> description what it does :-(
>
> If i
> understood it right, you called a function like this
>
> myFunction(&$variable)
>
> You can do the following, which should work. I use it myself
> to pass references to database handles.
>
> myFunction($variable);
>
> and in your function declaration use:
>
> function myFuntion( &$variable )
> {
> $this->variable = &$variable;
> }
>
> > I keep getting the following warning message on my production
> > server (ISP
> > hosted), but local version doesn't have this problem! I check
> > the local INI
> > file and can't find the "allow_call_time_pass_reference" mentioned!
> >
> > Any ideas?
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>