Date: 10/06/98
- Next message: be <email protected>: "[PHP-DEV] Bug #824: new function"
- Previous message: be <email protected>: "[PHP-DEV] Bug #822: request on array_walk"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: be <email protected>: "[PHP-DEV] Bug #824: new function"
- Previous message: be <email protected>: "[PHP-DEV] Bug #822: request on array_walk"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

