Re: [PHP-DEV] Re: PHP 7.0.0 final has been released!

2015-12-03 Thread Daniel Persson
I would also like to thank all participants for a great work on this new version. Just as a testament about how much better this version is: When we recently discussed what framework if any to use for data manipulation we did benchmarks for both PHP5 and PHP7. The test differed a lot in PHP5. All

Re: [PHP-DEV] Immutable modifier

2015-11-16 Thread Daniel Persson
Any differance from the final keyword? http://php.net/manual/en/language.oop5.final.php On Mon, Nov 16, 2015 at 10:15 AM, Chris Riley wrote: > Hi, > > There has been a lot of interest recently (eg psr-7) in immutable data. I'm > considering putting an RFC together to add language support for im

Re: [PHP-DEV] Re: [RFC][DISCUSSION] Revisit trailing commas in function arguments

2015-10-14 Thread Daniel Persson
I'll echo Andrea remarks, -1, sorry. On Thu, Oct 15, 2015, 01:25 Andrea Faulds wrote: > Hey Sammy, > > Sammy Kaye Powers wrote: > > I'd like to open a discussion on the RFC to allow trailing commas in > > function arguments. > > > > https://wiki.php.net/rfc/revisit-trailing-comma-function-args >

Re: [PHP-DEV] [RFC] [DRAFT]: Consistent callables

2015-10-06 Thread Daniel Persson
Hi Dan. Had this email in the "need-to-read" pile for over a week and finally got the time to go though the RFC. Seems like this is something that we need to address. Inconsistencies are never good. The only thing I want to point out is that is_callable as well as method_exists don't state in th

Re: [PHP-DEV] Suggestion: Adding PUT, PATCH and DELETE

2015-09-14 Thread Daniel Persson
On Mon, Sep 14, 2015 at 3:22 PM, Daniel Persson > wrote: > >> Hi. >> >> I've not been a member for too long so I might have missed if this have >> been discussed earlier. >> >> But I've created a small PR to the basic request handling to supp

[PHP-DEV] Suggestion: Adding PUT, PATCH and DELETE

2015-09-14 Thread Daniel Persson
Hi. I've not been a member for too long so I might have missed if this have been discussed earlier. But I've created a small PR to the basic request handling to support PUT, PATCH and DELETE. https://github.com/php/php-src/pull/1519 Summary: Added support for request methods with the smallest

Re: [PHP-DEV] [RFC] [Discussion] Short Closures

2015-09-04 Thread Daniel Persson
> Depends how you define simplicity. Because $a ~> $b ~> $c ~> $d is > IMHO more simple than ($a) ~> ((($b) ~> (($c) ~> $d($foo))) - which is > a result of the combination of amendments #2 and #3. I honestly do not > know if I wrote the parenthesis right now or not (probably not), > because there's