Mantis - Quercus
Viewing Issue Advanced Details
5329 minor always 01-11-13 13:36 01-11-13 14:44
nam  
nam  
normal  
closed 4.0.34  
fixed  
none    
none 4.0.34  
0005329: $a instanceof self/parent does not work
class A
{
}

class B extends A
{
  static function foo()
  {
    $a = new A();
    
    var_dump($a instanceof parent);
  }
}

B::foo();

Notes
(0006155)
nam   
01-11-13 14:44   
php/03p8
php/03p9