rfc:combined-comparison-operator

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
rfc:combined-comparison-operator [2015/02/17 14:47]
stas
rfc:combined-comparison-operator [2017/09/22 13:28] (current)
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.txt · Last modified: 2017/09/22 13:28 (external edit)