[dokuwiki] Re: Installing DokuWiki on Strato triggers "Call-time pass-by-reference has been deprecated-warning"

  • From: Ferdinand Soethe <sammler@xxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Mon, 26 Nov 2007 08:43:39 +0100

Ah, great, now I get it.

Thanks,
Ferdinand

Andreas Gohr wrote:

> On Sat, 24 Nov 2007 15:53:09 +0100
> Ferdinand Soethe <sammler@xxxxxxxxxx> wrote:
> 
>> Andreas Gohr wrote:
>>
>>> It's the right method but you are callng it with a calltime
>>> reference. Leave out the & beforethe variable name in the method
>>> call and the error should be gone.
>> Thanks Andi,
>>
>> I understand that option. But then I only get one return
>> value (the resolved filename) and no file-exists-result even
>> though it it calculated within that function.
> 
> No. The function defines that the variable will be passed by reference
> already. You don't have to specify it your self (that's what this
> option is about: reference on calltime vs. compile time). Just call it
> without the ampersand and it will work.
> 
> Andi
> 

-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: