[dokuwiki] Re: Installing DokuWiki on Strato triggers "Call-time pass-by-reference has been deprecated-warning"
- From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Sat, 24 Nov 2007 22:48:19 +0100
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
--
http://www.splitbrain.org
- Follow-Ups:
- References:
- [dokuwiki] Installing DokuWiki on Strato triggers "Call-time pass-by-reference has been deprecated-warning"
- From: Ferdinand Soethe
- [dokuwiki] Re: Installing DokuWiki on Strato triggers "Call-time pass-by-reference has been deprecated-warning"
- From: Ferdinand Soethe
- [dokuwiki] Re: Installing DokuWiki on Strato triggers "Call-time pass-by-reference has been deprecated-warning"
- From: Andreas Gohr
- [dokuwiki] Re: Installing DokuWiki on Strato triggers "Call-time pass-by-reference has been deprecated-warning"
- From: Ferdinand Soethe
Other related posts:
- » [dokuwiki] Installing DokuWiki on Strato triggers "Call-time pass-by-reference has been deprecated-warning"
- » [dokuwiki] Re: Installing DokuWiki on Strato triggers "Call-time pass-by-reference has been deprecated-warning"
- » [dokuwiki] Re: Installing DokuWiki on Strato triggers "Call-time pass-by-reference has been deprecated-warning"
- » [dokuwiki] Re: Installing DokuWiki on Strato triggers "Call-time pass-by-reference has been deprecated-warning"
- » [dokuwiki] Re: Installing DokuWiki on Strato triggers "Call-time pass-by-reference has been deprecated-warning"
- » [dokuwiki] Re: Installing DokuWiki on Strato triggers "Call-time pass-by-reference has been deprecated-warning"
- [dokuwiki] Installing DokuWiki on Strato triggers "Call-time pass-by-reference has been deprecated-warning"
- From: Ferdinand Soethe
- [dokuwiki] Re: Installing DokuWiki on Strato triggers "Call-time pass-by-reference has been deprecated-warning"
- From: Ferdinand Soethe
- [dokuwiki] Re: Installing DokuWiki on Strato triggers "Call-time pass-by-reference has been deprecated-warning"
- From: Andreas Gohr
- [dokuwiki] Re: Installing DokuWiki on Strato triggers "Call-time pass-by-reference has been deprecated-warning"
- From: Ferdinand Soethe