From: [EMAIL PROTECTED] Operating system: Sun Solaris 2.6 PHP version: 4.0.5 PHP Bug Type: *Function Specific Bug description: Array does not return class from get_class() $arr = Array(); $arr[0] = 5; $arr[1] = 3; $cl = get_class($arr); if($cl == "") print "error: get_class returned nothing"; // the if statment is true, and error is printed. // I tried this on a Linux 2.2 server and $cl = "Array" // BUT: If you do this:" print $arr; // "Array" will display in the browser. -- Edit Bug report at: http://bugs.php.net/?id=11040&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]