Parse Query for value 0 (Zero) not working

I`m trying do a query in a Class where I have a field of type ‘Number’ in Parse Server, my query:

    $query = new ParseQuery($className);

When I query for other numbers like 30, 50, 1, get the total right, but for zero get all Objects(total) in this class. I tried do this query in Parse Dashboard and results seems ok, the problem is only in Parse SDK PHP.

It looks like you found a bug. Can you please open a issue to the PHP GitHub repo?

Hi Davi, yes I`ll do this

I wrote a test case

It passed so I don’t know what the issue is. Can you have a look? Make any changes that will help reproduce your issue.