Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:41871 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63443 invoked from network); 12 Nov 2008 19:29:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Nov 2008 19:29:12 -0000 Authentication-Results: pb1.pair.com smtp.mail=sb@sebastian-bergmann.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=sb@sebastian-bergmann.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain sebastian-bergmann.de from 93.190.64.36 cause and error) X-PHP-List-Original-Sender: sb@sebastian-bergmann.de X-Host-Fingerprint: 93.190.64.36 mail-6.de-punkt.de Received: from [93.190.64.36] ([93.190.64.36:51807] helo=mail-6.de-punkt.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 04/31-07308-58E2B194 for ; Wed, 12 Nov 2008 14:29:11 -0500 Received: (qmail 29940 invoked by uid 511); 12 Nov 2008 19:29:08 -0000 Received: by simscan 1.3.1 ppid: 29934, pid: 29938, t: 0.2217s scanners: attach: 1.3.1 Received: from unknown (HELO ?0.0.0.0?) (sb%sebastian-bergmann.de@85.214.110.30) by 0 with ESMTPA; 12 Nov 2008 19:29:08 -0000 Message-ID: <491B2E81.3070601@sebastian-bergmann.de> Date: Wed, 12 Nov 2008 14:29:05 -0500 User-Agent: Thunderbird 2.0.0.17 (X11/20080925) MIME-Version: 1.0 To: internals@lists.php.net X-Enigmail-Version: 0.95.7 OpenPGP: id=B85B5D69 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: ReflectionProperty::setValue() and ReflectionProperty::setAccessible() From: sb@sebastian-bergmann.de (Sebastian Bergmann) Currently ReflectionProperty::setValue() ignores the setting made by ReflectionProperty::setAccessible(). Is this intentional or was it just forgotten to handle ref->ignore_visibility in setValue()? For some code I am working on it would be really helpful if setValue() could optionally work with private and protected attributes. -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69