note 76471 added to class.variant
| From: | darren at dcook dot org | Date: | Tue, 17 Jul 2007 12:59:00 +0000 |
| Subject: | note 76471 added to class.variant | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-128650@lists.php.net to get a copy of this message | ||
If you are frustrated that print_r($obj) (where $obj is something returned from a call to a function
on a COM object) does not return anything helpful, and that variant_get_type($obj) just returns a
number, the function you are actually after is:
com_print_typeinfo($obj);
It lists all functions, variables, their types in a human-readable (well, programmer-readable)
format. Lovely!
----
Server IP: 61.195.146.164
Probable Submitter: 61.193.69.76
----
Manual Page -- http://www.php.net/manual/en/class.variant.php
Edit -- https://master.php.net/note/edit/76471
Del: integrated -- https://master.php.net/note/delete/76471/integrated
Del: useless -- https://master.php.net/note/delete/76471/useless
Del: bad code -- https://master.php.net/note/delete/76471/bad+code
Del: spam -- https://master.php.net/note/delete/76471/spam
Del: non-english -- https://master.php.net/note/delete/76471/non-english
Del: in docs -- https://master.php.net/note/delete/76471/in+docs
Del: other reasons-- https://master.php.net/note/delete/76471
Reject -- https://master.php.net/note/reject/76471
Search -- https://master.php.net/manage/user-notes.php