Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:8362 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 84754 invoked by uid 1010); 3 Mar 2004 23:34:17 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 84720 invoked from network); 3 Mar 2004 23:34:17 -0000 Received: from unknown (HELO pigeon.alphaweb.net) (64.142.6.229) by pb1.pair.com with SMTP; 3 Mar 2004 23:34:17 -0000 Received: from adsl-64-142-6-231.sonic.net ([64.142.6.231] helo=basillica) by pigeon.alphaweb.net with smtp (Exim 4.10) id 1AygnN-0002zl-00; Wed, 03 Mar 2004 16:33:01 -0800 Message-ID: <00b601c40178$256c14c0$f300000a@alphaweb.net> To: "Robert Janeczek" Cc: References: <20040303210510.50482.qmail@pb1.pair.com> Date: Wed, 3 Mar 2004 15:34:44 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Re: simple feature request :] From: pollita@php.net ("Sara Golemon") > i was wondering if there would be much trouble with adding boolean trigger > to > get_class_vars ( string class_name) and > get_object_vars ( object obj) > which will tell this functions whether to return array with names and values > or with names only. with default option set to returning names and values > there will be no bc broken. > > or maybe there is somewhere a function that lists class/object variables > names? > Something like array_keys(get_class_vars($classname)) or array_keys(get_object_vars($object)) ?