[PHP-DEV] Bug #823: new function From: be <email protected>
Date: 10/06/98

From: be <email protected>
Operating system: any
PHP version: 3.0.5
PHP Bug Type: Feature/Change Request
Bug description: new function

it would be nice if there was a function 'classname()' which
returns the class name of a given object.

Watch this:

$o = new testclass;
print classname($o);

or

print $o->classname();

would produce the output "testclass".

Of course, the implementation of only one of the above would be
sufficient :-)

Thank You

Boris

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>