Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44116 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 39508 invoked from network); 1 Jun 2009 14:13:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Jun 2009 14:13:36 -0000 Authentication-Results: pb1.pair.com smtp.mail=kalle.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=kalle.php@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.220 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: kalle.php@gmail.com X-Host-Fingerprint: 209.85.220.220 mail-fx0-f220.google.com Received: from [209.85.220.220] ([209.85.220.220:57375] helo=mail-fx0-f220.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AE/31-52049-F02E32A4 for ; Mon, 01 Jun 2009 10:13:36 -0400 Received: by fxm20 with SMTP id 20so9007413fxm.23 for ; Mon, 01 Jun 2009 07:13:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=7NGkbW4WAQOzuPkikPqyB89eGhAzLe4+SAPFb0jkI00=; b=oH1DdfsQLBvRSFftpj4ASd3LdUSnSGwIN9Z1MJwwd1A6zRR3SYuF/yrFnK1CHvP3RD Y1Yjcb7sstnO6O5BPctLe2qHO8+5Kp+cpdtKduymgkAoe40nnwWo/FORDu86EGqwukVV ag3X8YON1Q5cbyu9+GvU4nQxLMFCWFTl71xwo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=wZoQ+zP75auFZPB/XoSd7JpM3W4Tel29Hw5xHyX3ms6vO3RJ2DhLs6XA0U3ZCP9jmB ZMYcMlhnyBZOw4Rr0iOxi1rBIIY6OAgOBi4MOJXBDV+MoE5hzXFCKY5+mjk/772Zx6Ei NV66qmgiFRYeB2WlRUMeb/kK7wnQag/RnP2Zg= MIME-Version: 1.0 Sender: kalle.php@gmail.com Received: by 10.86.59.18 with SMTP id h18mr6495609fga.71.1243865612603; Mon, 01 Jun 2009 07:13:32 -0700 (PDT) In-Reply-To: <4A23330D.4000205@gmail.com> References: <32074276-E941-45C8-B1A1-9A6EB34F4D7E@gmail.com> <4A23330D.4000205@gmail.com> Date: Mon, 1 Jun 2009 16:13:32 +0200 X-Google-Sender-Auth: 7f64c709009c7d98 Message-ID: <2dedb8a0906010713s1d4f9f96x9c111afa8bd7b5e1@mail.gmail.com> To: nrixham@gmail.com Cc: Matt Wilson , internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] need inverted __sleep? From: kalle@php.net (Kalle Sommer Nielsen) Hi 2009/6/1 Nathan Rixham : > Matt Wilson wrote: >> >> get_class_vars + array_diff > > cheers but nope; as the manual says > "Returns an associative array of default public properties of the class" I've recently fixed the manual about get_class_vars, since PHP 5.0.5 get_class_vars, depending on the scope will return the properties thats accessable from this scope, so calling it inside a method will expose both its public/protected/private properties. > > need private and inherited private > -- regrads, Kalle Sommer Nielsen kalle@php.net