Re: [PHP4BETA] class name

From: Date: Thu, 25 May 2000 13:18:19 +0000
Subject: Re: [PHP4BETA] class name
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-15737@lists.php.net to get a copy of this message
On Thu, 25 May 2000, Dariusz Malinowski wrote: > hi there guru guys :) > > i'm quite new with php (4) andi have such a problem: > > - can i get a class name (or even an object name) from instance variable > ? (or maybe something like $this->class_name ??) > > i searched the documentation on www.php.net web site and i didn't find > anything interesting about classes (maybe u know any other source of > good docs.?) Use get_class($my_object). -Andrei 'Any given program, when running correctly, is obsolete.' - First Law of Computer Programming

« previous php.version4 (#15737) next »