// numeric comparisons echo 10 <=> 10 .'
'; echo 12 <=> 10 .'
'; echo 10 <=> 12 .'
'; echo 10.5 <=> 10.5 .'
'; // string comparisons echo 'a' <=> 'a' .'
'; echo 'b' <=> 'a' .'
'; echo 'a' <=> 'b' .'
';
Hello World!