[PHP-DEV] Re: [RFC] Warn about invalid strings in arithmetic (moving back todiscussion)

2016-02-01 Thread Andrea Faulds
Hi everyone, There is one unresolved issue with the current patch that the RFC doesn't address, so I'll ask about it here. As part of supporting exponent notation in all remaining integer operations (casts, operators), I would like to have intval() support it, to match the `(int)` cast.

RE: [PHP-DEV] Re: [RFC] Warn about invalid strings in arithmetic (moving back todiscussion)

2016-01-28 Thread Zeev Suraski
> -Original Message- > From: Andrea Faulds [mailto:a...@ajf.me] > Sent: Tuesday, January 26, 2016 11:36 PM > To: internals@lists.php.net > Subject: [PHP-DEV] Re: [RFC] Warn about invalid strings in arithmetic (moving > back todiscussion) > > ...I proof-read my emai

Re: [PHP-DEV] Re: [RFC] Warn about invalid strings in arithmetic (moving back todiscussion)

2016-01-27 Thread Michael Wallner
On 27/01/16 01:54, Levi Morrison wrote: > I personally consider the new changes with fractional and scientific > notation strings and integer operators to be the more important > change. Thanks to everyone who identified and fixed this > inconsistency. > > Does anyone have any good ideas on how

Re: [PHP-DEV] Re: [RFC] Warn about invalid strings in arithmetic(moving back todiscussion)

2016-01-27 Thread Andrea Faulds
Hi Levi, Levi Morrison wrote: I personally consider the new changes with fractional and scientific notation strings and integer operators to be the more important change. Thanks to everyone who identified and fixed this inconsistency. Does anyone have any good ideas on how to prevent strtol

[PHP-DEV] Re: [RFC] Warn about invalid strings in arithmetic (moving back todiscussion)

2016-01-26 Thread Andrea Faulds
...I proof-read my email, but I forgot the most important thing. The link! https://wiki.php.net/rfc/invalid_strings_in_arithmetic Sorry. Andrea Faulds wrote: Good evening, I had opened the vote for this RFC, but then I was reminded by a discussion in the pull request about a particular

Re: [PHP-DEV] Re: [RFC] Warn about invalid strings in arithmetic (moving back todiscussion)

2016-01-26 Thread Levi Morrison
I personally consider the new changes with fractional and scientific notation strings and integer operators to be the more important change. Thanks to everyone who identified and fixed this inconsistency. Does anyone have any good ideas on how to prevent strtol and strtod from being re-introduced

Re: [PHP-DEV] Re: [RFC] Warn about invalid strings in arithmetic (moving back todiscussion)

2016-01-26 Thread Bishop Bettini
On Tue, Jan 26, 2016 at 7:54 PM, Levi Morrison wrote: > I personally consider the new changes with fractional and scientific > notation strings and integer operators to be the more important > change. Thanks to everyone who identified and fixed this > inconsistency. > Seconded,