Bug #824: new function

From: Date: Tue, 06 Oct 1998 11:04:41 +0000
Subject: Bug #824: new function
Groups: php.dev 
Request: Send a blank email to php-dev+get-1701@lists.php.net to get a copy of this message
From: be@SHonline.DE 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@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#1701) next »