Re: [PHP-DEV] [RFC] Nullable Types

2016-04-14 Thread Matt Prelude
On 14/04/16 10:59, Davey Shafik wrote: On Thu, Apr 14, 2016 at 2:00 AM, Derick Rethans wrote: On Wed, 13 Apr 2016, Levi Morrison wrote: As alluded to in an earlier email today[1] I am now moving the Nullable Types RFC[2] to the discussion phase. In a nutshell this RFC proposes syntax for d

Re: [PHP-DEV] [RFC Discussion] Typed Properties

2016-03-19 Thread Matt Prelude
Hi, On 16/03/16 16:36, Phil Sturgeon wrote: 2. This whole temporary nullability situation, where unset properties will error on attempted usage if not set. Should they instead error after the constructor has been called if they are still not holding a value? I'd have the error at the time of a

Re: [PHP-DEV] Adopt Ruby Code of Conduct

2016-02-23 Thread Matt Prelude
Hi, On 19/02/16 13:08, benjamin barber wrote: The Ruby Community Conduct Guideline We have picked the following conduct guideline based on an early draft of the PostgreSQL CoC, for Ruby developers community for safe, productive collaboration. Each Ruby related community (conference etc.) may pic

Re: [PHP-DEV] [VOTE] Contributor Guidelines, and Updates to Code of Conduct progress

2016-02-09 Thread Matt Prelude
Hi, So, rather than putting words in your mouth, I will ask the question directly: you say above that you do not agree that there is a need for a *new* enforcement process, but do you agree that there is a need for the *old* enforcement process to be recognised as such? Yes, have no issue wit

Re: [PHP-DEV] Re: Karma?

2016-02-09 Thread Matt Prelude
On 09/02/16 15:31, Christoph Becker wrote: On 09.02.2016 at 15:50 Matt Prelude wrote: Where can I find out how voting karma works? I've searched but there appears to be little in the way of a clear guide. Keen to get involved, but not sure where to start. Who can vote is describ

Re: [PHP-DEV] [VOTE] Contributor Guidelines, and Updates to Code of Conduct progress

2016-02-09 Thread Matt Prelude
Hi Rowan, On 09/02/16 15:24, Rowan Collins wrote: That said, I am not convinced either a) that the current process has any guarantee of transparency - who exactly has the right to block people from the list, or revoke other karma? what transparent process are they obliged to follow when doing

Re: [PHP-DEV] [VOTE] Contributor Guidelines, and Updates to Code of Conduct progress

2016-02-09 Thread Matt Prelude
Hi, On 09/02/16 15:23, David Zuelke wrote: I agree with Zeev here. It would be good to simplify this, and adding an explicit note about the inverse as well. Something like: "Debate issues and ideas, not the person holding them. Regardless of what side of a discussion you're on, realize that cr

Re: [PHP-DEV] [VOTE] Contributor Guidelines, and Updates to Code of Conduct progress

2016-02-09 Thread Matt Prelude
Hi, On 09/02/16 14:32, Rowan Collins wrote: Having procedures for violation and not using them could still have value. The most famous example of this is surely nuclear weapons, which are frequently cited as a deterrent, not intended for actual use. A less violent example in the UK would be t

[PHP-DEV] Karma?

2016-02-09 Thread Matt Prelude
Hi, Where can I find out how voting karma works? I've searched but there appears to be little in the way of a clear guide. Keen to get involved, but not sure where to start. - Matt. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [VOTE] Contributor Guidelines, and Updates to Code of Conduct progress

2016-02-09 Thread Matt Prelude
have karma to vote on RFCs. I think this is a lot better (and more technically-focused) than the Contributer Covenant, so it's a step in the right direction, but I still think it needs some refining to be 'production-ready'. - Matt Prelude. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Proposal for a new array function

2016-02-08 Thread Matt Prelude
On 08/02/16 17:36, Markus Fischer wrote: Hi, On 08.02.16 18:06, Cesar Rodas wrote: return array_keys($arr) !== range(0, count($arr) - 1); `array_keys($array) === range(0, count($array)-1)` That approach would fall flat when the numeric keys are not consecutive: $array = [1=>"a", 3=>"b"];

Re: [PHP-DEV] Proposal for a new array function

2016-02-08 Thread Matt Prelude
Hi, I want to propose a new PHP array method, called has_numeric_keys (or something similar/better), that would have the following method signature: bool has_numeric_keys(array $array) The reason for it is to check if the array passed to it only had numeric keys. Why this method, when you coul

Re: [PHP-DEV] [RFC] Add PHP_ENGINE Constant

2016-02-03 Thread Matt Prelude
Hi, On 03/02/16 16:54, Dan Ackroyd wrote: On 3 February 2016 at 09:03, Davey Shafik wrote: Hi all, It's actually very difficult to be able to reliably determine that you are running the _real_ PHP runtime and not something mimicking it. The underlying problem seems to be caused by HHVM delib

[PHP-DEV] Re: [RFC] [Re-proposed] Adopt Code of Conduct

2016-01-23 Thread Matt Prelude
Hi all, This is my first mail to the list so please let me know if I do anything wrong or if there's a better channel by which to have this kind of discussion. I'd like to propose adoption of an alternative code of conduct, the Go Code: https://golang.org/conduct The primary reasons for su

[PHP-DEV] VCS Account Request: mprelude

2016-01-21 Thread Matt Prelude
To contribute bugfixes to PHP. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php