<?php
$a = (object)["a" => "b"];
$b = (object)["a" => "c"];
$y = $a <=> $b;
echo $y;
$v=[1,2,3] <=> [1,2,3];
echo $v;
$a= (object)["a" => "b"];
$b = (object)["a" => "b"];
echo $a <=> $b;
echo ($y == -1)? 1:0;
//https://pt.stackoverflow.com/q/343530/101
PD9waHAKJGEgPSAob2JqZWN0KVsiYSIgPT4gImIiXTsKJGIgPSAob2JqZWN0KVsiYSIgID0+ICJjIl07CiR5ID0gJGEgPD0+ICRiOwplY2hvICR5Owokdj1bMSwyLDNdIDw9PiBbMSwyLDNdOwplY2hvICR2OwokYT0gKG9iamVjdClbImEiID0+ICJiIl07CiRiID0gKG9iamVjdClbImEiID0+ICJiIl07CmVjaG8gJGEgPD0+ICRiOwplY2hvICgkeSA9PSAtMSk/IDE6MDsKdmFyX2R1bXAoJGEpOwoKLy9odHRwczovL3B0LnN0YWNrb3ZlcmZsb3cuY29tL3EvMzQzNTMwLzEwMQ==