> > > I don't see how that would happen. What non-pathological case would allow > for $foo && !$foo == true? > > I suppose something a little less pathological would be
`$collection && $collection->pop() && !$collection`
which is still pretty icky (to me at least).
The other implication is that this is now possibly *not* a bug:
if (!$foo) {
$foo->bar();
}
which, again, would ever-so-slightly reduce the effectiveness of static
analysis.
