Found an very silly error with PHP 7 and checked internet for some solution, but didn't find any good answer. Below code snippet fails in PHP 7.
Code Snippet:
print_r(
0*-1.1
);
print_r(
floatval(
0*-1.1)
);
Both Fails
Desired Output: 0 Real Output: "-0"
Any help is appreciated, is it a PHP bug?