On Thu, Jul 12, 2018 at 8:05 AM Andrea Faulds wrote:
> Hi,
>
> CHU Zhaowei wrote:
> > I voted no.
> > I don't think we have an agreement on dealing with non-existing value,
> and the way this RFC proposed, just returning null without any
> notice/warning, is wrong IMO. I know we already do this i
A function like array_offset would be convenient as there is no way to
access the value of an array entry by its index currently. The workaround
is using array_slice, with all the downsides already pointed out.
2018-07-13 20:04 GMT-03:00 Levi Morrison :
> On Fri, Jul 13, 2018 at 4:50 PM Levi Morr
Hi!
> re2c is not a problem for Windows either, it is bundled as part of the
> PHP SDK.
OK then, Windows is not a problem, that makes it better.
--
Stas Malyshev
smalys...@gmail.com
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Hi!
> I would offer that this is what official releases and/or snaps.php.net is for.
Do you mean releases would contain the generated files but the regular
source won't? I am not sure then why - if we say our "official" source
has generated files, why keep VCS out of sync with the source? Also,
w
On Sat, Jul 14, 2018 at 10:00 AM Rowan Collins wrote:
>
> On 14 July 2018 15:37:32 BST, Levi Morrison wrote:
> >> class Validity {
> >> public \DateTimeInterface $validFrom;
> >> public ?\DateTimeInterface $validTo = null;
> >> }
> >
> >Even if this had a constructor we couldn't "trust" i
On 14 July 2018 15:37:32 BST, Levi Morrison wrote:
>> class Validity {
>> public \DateTimeInterface $validFrom;
>> public ?\DateTimeInterface $validTo = null;
>> }
>
>Even if this had a constructor we couldn't "trust" it because there
>are ways to skip constructors.
Then the mechanisms sh
On Sat, Jul 14, 2018 at 7:09 AM Rowan Collins wrote:
>
> Hi all,
>
> As briefly mentioned, I think the approach to non-nullable types in the typed
> properties proposal needs more discussion, to make sure we're not repeating
> Tony Hoare's "billion-dollar mistake".
>
> For parameter hints, nulla
Hi all,
As briefly mentioned, I think the approach to non-nullable types in the typed
properties proposal needs more discussion, to make sure we're not repeating
Tony Hoare's "billion-dollar mistake".
For parameter hints, nullability is naturally optional, particularly in PHP
where "nullable F
On Fri, Jul 6, 2018 at 4:24 PM Dustin Wheeler wrote:
>
> I would like to open the vote for an RFC to support Class Friendship in PHP:
>
> https://wiki.php.net/rfc/friend-classes
>
> The vote ends 2018-07-13 21:00 UTC.
>
Hello,
The RFC for Class Friendship failed to meet a 2/3 majority approval
a