RE: [PHP-WIN] Warnings...
| From: | Daniel Reichenbach | Date: | Thu, 11 Apr 2002 12:26:18 +0000 |
| Subject: | RE: [PHP-WIN] Warnings... | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-13025@lists.php.net to get a copy of this message | ||
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?