Re: is there still a php IRC channel + optional arguments by reference ?
| From: | Rasmus Lerdorf | Date: | Tue, 05 Sep 2000 20:56:01 +0000 |
| Subject: | Re: is there still a php IRC channel + optional arguments by reference ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-15381@lists.php.net to get a copy of this message | ||
> 1.) I just visited #php on EFNET, where some months ago some
> reasonable very interesting discussions and help was going on, but now
> it's very much nonsense talk. so maybe there's a new channel ?
You can try #php on one of the OpenProjects servers. irc.linux.com is
one.
> 2.) i wanted to find out there if it's possible to pass an optional
> argument by reference to a php function. e.g.
> function (&$myvar = 0) { .... }
Not really. You can set allow_call_time_pass_reference in your .ini file
and pass in the variable by-reference, but the syntax you showed should
probably be made to work.
-Rasmus