Example #1
0
 /**
  * @link https://github.com/phalcon/zephir/issues/776
  */
 public function testInstanceOf5()
 {
     $t = new InstanceOff();
     $this->assertTrue($t->testInstanceOf5($t));
     /**
      * Cannot test instance of for not objects
      * @link https://github.com/phalcon/zephir/issues/822
      */
     $this->assertFalse($t->testInstanceOf5(new \StdClass()));
 }