Re: [PHP-DEV] Re: [PHP-DOC] Re: Ambiguity in the oop5 visibility docs

2018-05-26 Thread Rowan Collins
On 26/05/2018 16:39, Pedro Magalhães wrote: On Sat, May 26, 2018 at 3:04 PM, Rowan Collins > wrote: Note that this example also works in Java:

[PHP-DEV] Re: undocumented session_name() change

2018-05-26 Thread Christoph M. Becker
On 25.05.2018 at 12:28, Christoph M. Becker wrote: > if ($_GET['action'] == 'newsession') { >$session_name = getNewSessionName(); // user-defined function >session_name($session_name); >session_regenerate_id(); >header('Location: ' ….); // restart script to use new session

Re: [PHP-DEV] Re: [PHP-DOC] Re: Ambiguity in the oop5 visibility docs

2018-05-26 Thread Pedro Magalhães
On Sat, May 26, 2018 at 3:04 PM, Rowan Collins wrote: > > Note that this example also works in Java: https://tio.run/##vZMxb9swEIVn > 61fcKKctbWctMhUIuhgomqIdigwn8mIxpUiDPNkpDP92hxJlW4rsIUBRQhP5 > @O670@MzbvDTs/pzOGAR2KNkkAZDgG9eS4JdBnGtvWOSTAqUqwtDsEFT0@f2 >

Re: [PHP-DEV] [VOTE] Deprecate and Remove image2wbmp()

2018-05-26 Thread Alice Wonder
On 05/26/2018 07:04 AM, Christoph M. Becker wrote: Hi everybody! As sequel to the RFC dicussion[1], I have started the vote on the “Deprecate and Remove image2wbmp()” RFC: Voting will end on 2018-06-09 21:00 UTC (i.e. in two weeks). Thanks in advance for

[PHP-DEV] Re: [PHP-DOC] Re: Ambiguity in the oop5 visibility docs

2018-05-26 Thread Christoph M. Becker
On 25.05.2018 at 19:47, Rowan Collins wrote: > On 25 May 2018 13:29:41 BST, "Christoph M. Becker" > wrote: >> >> I think we should discuss this on the internals@ mailing list. Perhaps >> the current behavior is by design, and will “never” change. > > Given that PHP is largely

Re: [PHP-DEV] Re: [PHP-DOC] Re: Ambiguity in the oop5 visibility docs

2018-05-26 Thread Rowan Collins
On 26/05/2018 15:04, Rowan Collins wrote: Here's a concrete example... Sorry, slight mistake in my example: to be equivalent to the case discussed, the Subclass::add(ParentClass $other) method should be declared on one of the child classes. But it still works in both languages:

Re: [PHP-DEV] Re: [PHP-DOC] Re: Ambiguity in the oop5 visibility docs

2018-05-26 Thread Rowan Collins
On 25/05/2018 19:48, Pedro Magalhães wrote: On Fri, May 25, 2018 at 6:47 PM, Rowan Collins > wrote: I'm not sure what exactly is "ambiguous" or "might change" here. The current text accurately describes what "protected" means in

[PHP-DEV] [VOTE] Deprecate and Remove image2wbmp()

2018-05-26 Thread Christoph M. Becker
Hi everybody! As sequel to the RFC dicussion[1], I have started the vote on the “Deprecate and Remove image2wbmp()” RFC: Voting will end on 2018-06-09 21:00 UTC (i.e. in two weeks). Thanks in advance for your participation! [1]