Always false (contradiction).
public static false ( ) : |
||
return | The created expression. |
public function andFalse() { return Expr::false(); }
public function testAndXReturnsFalse() { $conjunction1 = new AndX(array($notNull = new Same('10'))); $conjunction2 = $conjunction1->andX($false = Expr::false()); $this->assertSame($false, $conjunction2); }
public function testAndXReturnsFalse() { $literal = new TestLiteral('value'); $conjunction = $literal->andX($false = Expr::false()); $this->assertSame($false, $conjunction); }