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 (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
-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 TickBox
3 matches
Mail list logo