Please explain what is the main problem in comparison of floating point numbers?

Submitted by: Muhammad
Explain the starship operator and why it returns the given output

echo 1.5 <=> 2.5; // -1
echo "a" <=> "a"; // 0
echo [1, 2, 3] <=> [1, 2, 4]; // -1
Submitted by: Muhammad

Read Online Jnr PHP/Codeigniter Developer Job Interview Questions And Answers