[PHP-DEV] Re: [VOTE] Deprecate png2wbmp() and jpeg2wbmp()

2016-11-13 Thread Christoph M. Becker
On 30.10.2016 at 22:30, Christoph M. Becker wrote: > As there has been no discussion in the RFC's discussion thread[1], I > assume there is nothing to discuss, so I've just put the "Deprecate > png2wbmp() and jpeg2wbmp()" RFC[2] to voting. The voting period ends on > 2016-11-13, 22:00 UTC. > > T

Re: [PHP-DEV] How to detect classes with a count_elements handler in userland?

2016-11-13 Thread Craig Duncan
> How about just making those classes implement the interface instead? Christoph pointed out that there may be classes in extensions that use count_elements. Also it would make userland code simpler: is_countable($thing) vs is_array($thing) || $thing implements \Countable

Re: [PHP-DEV] How to detect classes with a count_elements handler in userland?

2016-11-13 Thread Niklas Keller
2016-11-13 18:34 GMT+01:00 Christoph M. Becker : > Hi! > > In the discussion on PR #2185[1] we've stumbled upon the issue of > internal classes implementing a count_elements handler (but not the > Countable interface). > > Is it possible to detect this in userland? If not, I would suggest that >

RE: [PHP-DEV] C89 vs. C99

2016-11-13 Thread Anatol Belski
Hi, > -Original Message- > From: morrison.l...@gmail.com [mailto:morrison.l...@gmail.com] On Behalf > Of Levi Morrison > Sent: Saturday, November 12, 2016 9:47 PM > To: Dennis Clarke > Cc: internals > Subject: Re: [PHP-DEV] C89 vs. C99 > > On Sat, Nov 12, 2016 at 1:37 PM, Dennis Clarke

[PHP-DEV] How to detect classes with a count_elements handler in userland?

2016-11-13 Thread Christoph M. Becker
Hi! In the discussion on PR #2185[1] we've stumbled upon the issue of internal classes implementing a count_elements handler (but not the Countable interface). Is it possible to detect this in userland? If not, I would suggest that we introduce something like is_countable(), so users can check w

Re: [PHP-DEV] PaX MPROTECT / W^X protection

2016-11-13 Thread Christoph M. Becker
Thanks, Anatol and Joe! So I'm going to document these issues, and close the respective reports. Cheers, Christoph On 13.11.2016 at 07:36, Joe Watkins wrote: > Morning, > > Just wanted to give a thumbs up to documenting the issue ... > > Trying to work around it with platform/distro/kernel sp

Re: [PHP-DEV] Strict types indicator in backtraces

2016-11-13 Thread Nikita Popov
On Wed, Oct 26, 2016 at 8:00 PM, Leigh wrote: > Hi all, > > I've written a small patch to add a "strict_types" key to the backtrace > information for functions. > > https://github.com/php/php-src/pull/2177 > > The idea here is to be able to see more easily whether a parameter may have > had it's