Is it an error?

From: Date: Wed, 08 Aug 2018 10:34:45 +0000
Subject: Is it an error?
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-27222@lists.php.net to get a copy of this message
Under address: http://php.net/manual/en/language.operators.comparison.php Is: // only values are compared $a = (object) ["a" => "b"]; $b = (object) ["b" => "b"]; echo $a <=> $b; // 1 ?> Shouldn't be?: // only values are compared $a = (object) ["a" => "b"]; $b = (object) ["b" => "b"]; echo $a <=> $b; // 0 ?> If we compare values b and b is the same... Thanks for reply. dj.drezyna

« previous php.webmaster (#27222) next »