Re: RFC proposal
| From: | Bartłomiej Krukowski | Date: | Fri, 02 Jun 2017 13:21:38 +0000 |
| Subject: | Re: RFC proposal | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-99320@lists.php.net to get a copy of this message | ||
Hello,
PHP allows for using implicit references in arguments of function. In most
common case we have to mark that variable is an reference in head of
function, in other case we will receive fatal error (@see example -
http://ideone.com/7zkgQQ <http://ideone.com/7zkgQQ>). There is an option to
use variable as implicit reference (@see example - http://ideone.com/T6oF7C
<http://ideone.com/T6oF7C>), I think it should not be
possible. Only
explicit references should be allowed (except objects).
Best regards
2017-06-02 14:19 GMT+02:00 Dan Ackroyd <danack@basereality.com>:
> On 2 June 2017 at 12:14, Bartłomiej Krukowski
> <krukowski.bartlomiej@gmail.com> wrote:
> > Hello,
> >
> > I've created an account just now on wiki.php.net. My username:
> *bkrukowski*.
> > I would like to create RFC about references in PHP. Could you please give
> > me an access?
> >
>
> From the RFC howto https://wiki.php.net/rfc/howto:
>
> "Email internals@lists.php.net to measure reaction to your intended
> proposal. State who would implement the feature, or whether the
> proposal is only a “concept”. Proceed with an RFC if feedback is not
> negative or if a detailed RFC will clarify the proposal. "
>
> Can you give a rough outline of the proposal ?
>
> cheers
> Dan
>