Date: 07/09/98
- Next message: eschmid <email protected>: "[PHP-DEV] Bug #529: Mysql-3.22.1 and mysql_real_connect()"
- Previous message: be <email protected>: "[PHP-DEV] Bug #527: gettype() now even worse!!!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Next message: eschmid <email protected>: "[PHP-DEV] Bug #529: Mysql-3.22.1 and mysql_real_connect()"
- Previous message: be <email protected>: "[PHP-DEV] Bug #527: gettype() now even worse!!!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

