RE: [PHP] Find a what class a variable is

2007-04-27 Thread Edward Kay
> -Original Message- > From: John Comerford [mailto:[EMAIL PROTECTED] > Sent: 27 April 2007 08:41 > To: php-general@lists.php.net > Subject: [PHP] Find a what class a variable is > > > Hi Folks, > > Is is possible to detect what class a variable is eg. > > $JC1 = new Button(); > $JC2 = new

Re: [PHP] Find a what class a variable is

2007-04-27 Thread [EMAIL PROTECTED]
echo get_class($JC1); Am 27.04.2007, 09:41 Uhr, schrieb John Comerford <[EMAIL PROTECTED]>: Hi Folks, Is is possible to detect what class a variable is eg. $JC1 = new Button(); $JC2 = new TickBox(); Is it possible to find out what class $JC1 is ? TIA, JC -- PHP General Mailing List