Morning Tom,
> I guess yes on both to be consistent with coercion on function invocation
but I couldn't find this mentioned in the RFC.
Correct. I only made brief mention that the rules for coercion and
strictness are reused.
Cheers
Joe
On Fri, May 20, 2016 at 6:59 PM, Tom Worster wrote:
> On
On 5/20/16 2:05 AM, Joe Watkins wrote:
Morning internals,
Since we have our answer on nullable types, typed properties can now go
to vote.
https://wiki.php.net/rfc/typed-properties#vote
Note that, support for nullability as RFC'd will be merged when the
implementation for nullable_
Joe, I fixed a minor typo in the RFC, hope you didn't mind. =)
On Fri, May 20, 2016 at 5:25 AM, Lester Caine wrote:
> On 20/05/16 07:05, Joe Watkins wrote:
> > Morning internals,
> >
> > Since we have our answer on nullable types, typed properties can now
> go
> > to vote.
> >
> > https:
2016-05-20 16:47 GMT+02:00 S.A.N :
> 2016-05-20 17:41 GMT+03:00 Niklas Keller :
> > 2016-05-20 15:34 GMT+02:00 S.A.N :
> >>
> >> Many interfaces work with callback functions, but they might work with
> >> the generators, if there was a method Generator::__invoke($value).
> >
> >
> > You can just u
2016-05-20 17:41 GMT+03:00 Niklas Keller :
> 2016-05-20 15:34 GMT+02:00 S.A.N :
>>
>> Many interfaces work with callback functions, but they might work with
>> the generators, if there was a method Generator::__invoke($value).
>
>
> You can just use [$generator, "send"].
>
Yes, but it is slow and
2016-05-20 15:34 GMT+02:00 S.A.N :
> Many interfaces work with callback functions, but they might work with
> the generators, if there was a method Generator::__invoke($value).
You can just use [$generator, "send"].
On Fri, May 20, 2016 at 2:07 PM, Dmitry Stogov wrote:
> hi,
>
>
> Please review the path
> https://gist.github.com/dstogov/0a809891c6a3ac3fac4bd0d9711dd330
>
>
> I hope, it should completely fix https://bugs.php.net/bug.php?id=72213
>
>
> I'm going to commit this on Monday.
>
>
> Thanks. Dmitry.
Many interfaces work with callback functions, but they might work with
the generators, if there was a method Generator::__invoke($value).
I apologize if this topic has been discussed.
Thank.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.p
On Fri, May 20, 2016 at 2:07 PM, Dmitry Stogov wrote:
> hi,
>
>
> Please review the path
> https://gist.github.com/dstogov/0a809891c6a3ac3fac4bd0d9711dd330
>
>
> I hope, it should completely fix https://bugs.php.net/bug.php?id=72213
>
>
> I'm going to commit this on Monday.
>
>
> Thanks. Dmitry.
Results for project PHP master, build date 2016-05-20 06:29:09+03:00
commit: 4f077ae
previous commit:88196e9
revision date: 2016-05-20 01:51:05+02:00
environment:Haswell-EP
cpu:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz 2x18 cores,
stepping 2, LLC 45 MB
On Fri, 20 May 2016, Dmitry Stogov wrote:
> Please review the path
> https://gist.github.com/dstogov/0a809891c6a3ac3fac4bd0d9711dd330
https://gist.github.com/dstogov/0a809891c6a3ac3fac4bd0d9711dd330#file-bug72213-diff-L194-L196
https://gist.github.com/dstogov/0a809891c6a3ac3fac4bd0d9711dd330#fil
hi,
Please review the path
https://gist.github.com/dstogov/0a809891c6a3ac3fac4bd0d9711dd330
I hope, it should completely fix https://bugs.php.net/bug.php?id=72213
I'm going to commit this on Monday.
Thanks. Dmitry.
On 20/05/16 07:05, Joe Watkins wrote:
> Morning internals,
>
> Since we have our answer on nullable types, typed properties can now go
> to vote.
>
> https://wiki.php.net/rfc/typed-properties#vote
>
> Note that, support for nullability as RFC'd will be merged when the
> implementatio
On 20/05/2016 08:22, Niklas Keller wrote:
2016-05-20 4:13 GMT+02:00 Jesse Schalken :
The top frame is the construction (get_error) and the site of the throw
(do_throw) doesn't appear in the stack at all.
The comparison with JavaScript isn't a good one, since you can throw
everything in JS. If
On 05/20/2016 08:05 AM, Joe Watkins wrote:
Morning internals,
Since we have our answer on nullable types, typed properties can now go
to vote.
https://wiki.php.net/rfc/typed-properties#vote
Note that, support for nullability as RFC'd will be merged when the
implementation for nu
Le 10/05/2016 à 17:22, Levi Morrison a écrit :
Dmitry and I have opened [voting on Nullable Types][1].
[1]: https://wiki.php.net/rfc/nullable_types#voting_choices
Hi,
At AFUP, we would be +1 for having nullable types, for both parameters
and return values.
It often seems, with PHP 7.0, th
2016-05-20 4:13 GMT+02:00 Jesse Schalken :
>
> On Fri, May 20, 2016 at 4:35 AM, Rasmus Schultz
> wrote:
>
>> This is inconsistent with at least JavaScript and C#, where the stack
>> trace is populated at the throw site. (Probably others?)
>>
>
> I'm not sure about C#, but in JavaScript (Node.js):
17 matches
Mail list logo