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 <dan...@basereality.com>: > On 2 June 2017 at 12:14, Bartłomiej Krukowski > <krukowski.bartlom...@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 >