Re: plphp: PHP Warning: Call-time pass-by-reference has
От | Joshua D. Drake |
---|---|
Тема | Re: plphp: PHP Warning: Call-time pass-by-reference has |
Дата | |
Msg-id | 42FBF054.1010300@commandprompt.com обсуждение исходный текст |
Ответ на | Re: plphp: PHP Warning: Call-time pass-by-reference has been deprecated (CSN <cool_screen_name90001@yahoo.com>) |
Список | pgsql-general |
CSN wrote: >I'm using PHP5, and I'm not passing by reference. My >first stop WAS plphp.commandprompt.com, but none of >their mailing list links for plphp work. > > You are correct. This is a mistake on our part. Perhaps next time a little note to support or info@ saying, "Hey what is up with this link?" would be helpful. The link to the mailing list will be fixed in the next hour. Sincerely, Joshua D. Drake >CSN > > > > >># jd ( at ) commandprompt ( dot ) com / 2005-08-11 >> >> >15:45:18 -0700: > > >>>Roman Neuhauser wrote: >>> >>> >>>># cool_screen_name90001 ( at ) yahoo ( dot ) com >>>> >>>> >/ 2005-08-11 13:23:52 -0700: > > >>>>>I'm getting this warning in pgsql's log: >>>>> >>>>>LOG: plphp: PHP Warning: Call-time >>>>> >>>>> >pass-by-reference > > >>>>>has been deprecated - argument passed by value; >>>>> >>>>> >If > > >>>>>you would like to pass it by reference, modify >>>>> >>>>> >the > > >>>>>declaration of [runtime function name](). If >>>>> >>>>> >you > > >>>>>would like to enable call-time >>>>> >>>>> >pass-by-reference, you > > >>>>>can set allow_call_time_pass_reference to true >>>>> >>>>> >in your > > >>>>>INI file. However, future versions may not >>>>> >>>>> >support > > >>>>>this any longer. in plphp trigger call on line >>>>> >>>>> >1 > > >>>>>Is there anything I can do about it? >>>>> >>>>> >>>> Yes. >>>> >>>> >>>> >>>Actually the below is incorrect. He should be >>> >>> >visiting > > >>>plphp.commandprompt.com and signing up for the >>> >>> >list there. > > >> >> Why? What does the generic warning emitted by >> >> >PHP 4 (no need to get > > >> PostgreSQL into the mix) since forever on code >> >> >like this: > > >> function foo($arg) {} /* foo is declared to take >> >> >$arg by value */ > > >> foo(&$var); /* $var is passed by reference */ >> >> have to do with PL/PHP? >> >> >> >>>> It's completely off topic here, however. >>>> >>>> >You'll find more help in > > >>>> the PHP manual and/or php-general ( at ) >>>> >>>> >lists ( dot ) php ( dot ) net (you can subscribe > > >>>> from http://www.php.net/). >>>> >>>> > > > >____________________________________________________ >Start your day with Yahoo! - make it your home page >http://www.yahoo.com/r/hs > > >---------------------------(end of broadcast)--------------------------- >TIP 4: Have you searched our list archives? > > http://archives.postgresql.org > >
В списке pgsql-general по дате отправления: