rfc:combined-comparison-operator

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
rfc:combined-comparison-operator [2015/02/17 14:47] stasrfc:combined-comparison-operator [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 70: Line 70:
 echo $a <=> $b; // 1 echo $a <=> $b; // 1
  
-// only values are compared 
 $a = (object) ["a" => "b"];  $a = (object) ["a" => "b"]; 
 $b = (object) ["b" => "b"];  $b = (object) ["b" => "b"]; 
rfc/combined-comparison-operator.1424184457.txt.gz · Last modified: 2017/09/22 13:28 (external edit)