Re: [PHP-DEV] [RFC] [Vote] var_info

2016-07-10 Thread Stanislav Malyshev
Hi! >> * Make is_object() return true for IncompleteClass. This is just >> ridiculous. I care zero about the theoretical BC impact. > > I have no idea why it doesn't do so. I'll try to dig up when it was made > so and see if there's some explanation. This is the change that caused it: commit 7

Re: [PHP-DEV] Request for wiki karma

2016-07-10 Thread Charles R. Portwood II
On Sun, Jul 10, 2016 at 12:36 AM, Scott Arciszewski wrote: > Version 1.3 of the Argon2 spec alleviated my concerns. > > I never completed my patch, and the past couple of months have been > hectic. I can review the patch before it's merged if you want, but I still > don't have the free time to au

Re: [PHP-DEV] Proposal for php7 class method return

2016-07-10 Thread Jesse Schalken
On Sun, Jul 10, 2016 at 8:34 PM, Rasmus Schultz wrote: > > What you're really trying to accomplish is something like the ".." > operator found in some other languages - this is known as the "cascade > operator" in Dart, for example: > > > http://news.dartlang.org/2012/02/method-cascades-in-dart-p

Re: [PHP-DEV] Proposal for php7 class method return

2016-07-10 Thread Rasmus Schultz
Just my opinion, but I view method chaining as a poor man's work-around to a missing (and much more versatile) language feature, and would therefore rather not see us adding a feature that inspires what is, in my opinion, and anti-pattern. Functions are intended as a means of returning the result