Nicolas Grekas

Results 815 comments of Nicolas Grekas

What about returning the tail only if the head is empty? That would cover the use case that you describe (and that makes sense to me), without trying to solve...

LGTM thanks. Can you please add a test case that has both head and tail, asserting that only head is returned?

Hope doesn't work, sending PRs does :) Would you like having a look? If nobody cares to implement this, we'd better close.

I don't know either. Might be a nice opportunity to learn about it if you're up for having a look.

Sorry about that :disappointed: This doesn't change the dynamics of OSS: ppl that need something are the best to contribute. Who else otherwise? :shrug:

> But I am also tempted to change the behavior directly in 6.3. I vote for this also. `getInt()` is for ints and the BC layer looks quite costly to...

Dunno it it's a good idea but we could plan the BC break for 7.0 and announce the change with the following: ```php try { trigger_deprecation(...); trigger_error('Blahblah'); } catch (\ErrorException...