>
> You might want to have a stiff drink before reading through the examples
> in this RFC then: https://wiki.php.net/rfc/string_to_number_comparison
I've already browsed this RFC, I think it's a step in the right direction
and agree with it for the most part, with 2 exceptions:
- the one we're
On 26/03/2019 21:54, Benjamin Morel wrote:
I almost had a heart attack after running this code. I knew that PHP had a
few quirks when comparing different types, but I had long taken for granted
that comparing 2 *strings *performed a byte-by-byte comparison.
You might want to have a stiff drink
On Tue, 26 Mar 2019 at 21:33, Theodore Brown wrote:
var_export("50" == " 50"); // true
>
I almost had a heart attack after running this code. I knew that PHP had a
few quirks when comparing different types, but I had long taken for granted
that comparing 2 *strings *performed a byte-by-byte comp
On Thu, March 21, 2019 6:33 PM Andrea Faulds wrote:
> > On Tue, March 5, 2019 6:16 PM Andrea Faulds wrote:
> >
> > Here's an RFC that's been lying in my drafts for uh… 26 months:
> >
> > https://wiki.php.net/rfc/trailing_whitespace_numerics
> >
> > I expect this should be an uncontroversial p
On Tue, Mar 26, 2019 at 4:02 AM Peter Bowyer
wrote:
> On Mon, 25 Mar 2019 at 19:28, Ben Ramsey wrote:
>
> > If someone enters nonsense or “n/a” or any value that doesn’t justify
> > their vote or doesn’t appear to satisfactorily justify it according to
> some
> > metric of justification satisfac
On Sat, Mar 23, 2019 at 4:07 PM C. Scott Ananian
wrote:
> Yup, testing via CLI but Wikimedia will (eventually) be running PHP 7.x
> with opcache ( https://phabricator.wikimedia.org/T176370 /
> https://phabricator.wikimedia.org/T211964 ). It would be nice to fix the
> CLI to behave more like the
On 25/03/2019 22:54, Stanislav Malyshev wrote:
That means both extensions are effectively unmaintained for over a
decade. If this does not happen, then continuing to ship it as part of
PHP core distribution is not doing the users any favors.
When critical problems have arisen they have been add
On Mon, 25 Mar 2019 at 19:28, Ben Ramsey wrote:
> If someone enters nonsense or “n/a” or any value that doesn’t justify
> their vote or doesn’t appear to satisfactorily justify it according to some
> metric of justification satisfaction, then does that person’s vote get
> thrown out or discounted