Date: 07/09/98
- Next message: be <email protected>: "[PHP-DEV] Bug #528: please ingore above - gettype() now even worse!!!"
- Previous message: Bug Database: "[PHP-DEV] Bug #522 Updated: gettype() anomaly due to namespace confusion?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: be <email protected>
Operating system: solaris 2.5.1
PHP version: 3.0.1
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.
- Next message: be <email protected>: "[PHP-DEV] Bug #528: please ingore above - gettype() now even worse!!!"
- Previous message: Bug Database: "[PHP-DEV] Bug #522 Updated: gettype() anomaly due to namespace confusion?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

