Re: [PHP-DEV] getting tests running with docker

2018-05-26 Thread Peter Kokot
Hello, yes, same is happening here also with PHP master branch and Alpine Linux. It has something to do with the musl libc (Alpine) . Checking it out... Probably this should be reported to bugs.php.net also... On Tue, 22 May 2018 at 11:35, Frederik Bosch wrote: > Hi there, > > As the release man

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 mailto:rowan.coll...@gmail.com>> wrote: Note that this example also works in Java: https://tio.run/##vZMxb9swEIVn61fcKKctbWctMhUIuhgomqIdigwn8mIxpUiDPNkpDP92hxJlW4rsIUBRQhP5@O670@MzbvDTs/pzOGAR2K

[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 name

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 > LAnirpbpTt7XTDuHZnGpg2h34a7vsD/7nBhGFV

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 "duck typed", it wo

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: https://3v4

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 mailto:rowan.coll...@gmail.com>> wrote: I'm not sure what exactly is "ambiguous" or "might change" here. The current text accurately describes what "protected" means in PHP, and in many ot

[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]