[PHP-DEV] Bug #528: please ingore above - gettype() now even worse!!! From: be <email protected>
Date: 07/09/98

From: be <email protected>
Operating system: solaris 2.5.1
PHP version: 3.0 Latest CVS
PHP Bug Type: Misbehaving function
Bug description:
Now gettype is totally inconsistent:

Now
-------
$b = array();
 
function b() { ; }
 
print gettype($b);
-------

retruns "array" which is perfectly correct.

But
-------
class A {
 var $a = array();
 function a() { ; }
}
 
$o = new A;
print gettype($o->a);
-------

returns "user function" which is not only false, but also
inconsistent to what gettype() returns in the upper case.