Re: [PHP-DEV] [RFC] Explicit call-site send-by-ref syntax

2017-12-06 Thread Stanislav Malyshev
Hi! > I'd like propose optional support for explicitly marking by-reference > argument passing at the call-site, in addition to the declaration-site: > > https://wiki.php.net/rfc/explicit_send_by_ref > > In short, while currently we have > > function byRef(&$ref) {...} > byRef($var)

Re: [PHP-DEV] [RFC] Explicit call-site send-by-ref syntax

2017-12-06 Thread David Walker
On Wed, Dec 6, 2017 at 2:32 PM Rowan Collins wrote: > On 06/12/2017 19:49, Nikita Popov wrote: > > Hi internals, > > > > I'd like propose optional support for explicitly marking by-reference > > argument passing at the call-site, in addition to the declaration-site > > > Hi Nikita, > > I approve

Re: [PHP-DEV] [RFC] Explicit call-site send-by-ref syntax

2017-12-06 Thread Rowan Collins
On 06/12/2017 19:49, Nikita Popov wrote: Hi internals, I'd like propose optional support for explicitly marking by-reference argument passing at the call-site, in addition to the declaration-site Hi Nikita, I approve of the aims of this proposal, but I do wonder if it would be a bit awkward

Re: [PHP-DEV] [RFC] Explicit call-site send-by-ref syntax

2017-12-06 Thread Sara Golemon
On Wed, Dec 6, 2017 at 4:11 PM, Sara Golemon wrote: >... that kind of information can also live in a docblock with > nearly the same force and effect (modulo the warning when the hint is > wrong). > Sorry, ignore that last statement. I've got a weird headache going on atm. Still neutral on it eit

Re: [PHP-DEV] [RFC] Explicit call-site send-by-ref syntax

2017-12-06 Thread Sara Golemon
On Wed, Dec 6, 2017 at 2:49 PM, Nikita Popov wrote: > I'd like propose optional support for explicitly marking by-reference > argument passing at the call-site, in addition to the declaration-site: > > https://wiki.php.net/rfc/explicit_send_by_ref > > In short, while currently we have > >

Re: [PHP-DEV] [RFC] Explicit call-site send-by-ref syntax

2017-12-06 Thread li...@rhsoft.net
Am 06.12.2017 um 20:49 schrieb Nikita Popov: I'd like propose optional support for explicitly marking by-reference argument passing at the call-site, in addition to the declaration-site: https://wiki.php.net/rfc/explicit_send_by_ref In short, while currently we have function byRef(&

[PHP-DEV] [RFC] Explicit call-site send-by-ref syntax

2017-12-06 Thread Nikita Popov
Hi internals, I'd like propose optional support for explicitly marking by-reference argument passing at the call-site, in addition to the declaration-site: https://wiki.php.net/rfc/explicit_send_by_ref In short, while currently we have function byRef(&$ref) {...} byRef($var); this

[PHP-DEV] Re: PHP documentation for new functions

2017-12-06 Thread Christoph M. Becker
On 06.12.2017 at 10:26, Côme Chilliet wrote: > I added documentation for the new PHP-LDAP functions, for instance: > https://secure.php.net/manual/en/function.ldap-exop.php > > It says «(No version information available, might only be in Git)», I did not > find any way to change that. > I guess

[PHP-DEV] PHP documentation for new functions

2017-12-06 Thread Côme Chilliet
Hello, I added documentation for the new PHP-LDAP functions, for instance: https://secure.php.net/manual/en/function.ldap-exop.php It says «(No version information available, might only be in Git)», I did not find any way to change that. I guess it’s somehow auto-detected? Why does it not see th