Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45459 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70751 invoked from network); 3 Sep 2009 09:55:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Sep 2009 09:55:32 -0000 Authentication-Results: pb1.pair.com header.from=news@ger.gmane.org; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=php-php-dev@m.gmane.org; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain m.gmane.org designates 80.91.229.12 as permitted sender) X-PHP-List-Original-Sender: php-php-dev@m.gmane.org X-Host-Fingerprint: 80.91.229.12 lo.gmane.org Linux 2.6 Received: from [80.91.229.12] ([80.91.229.12:43380] helo=lo.gmane.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4B/E2-56188-1929F9A4 for ; Thu, 03 Sep 2009 05:55:30 -0400 Received: from list by lo.gmane.org with local (Exim 4.50) id 1Mj92N-0001Cn-18 for internals@lists.php.net; Thu, 03 Sep 2009 11:55:27 +0200 Received: from p5b3765e8.dip.t-dialin.net ([91.55.101.232]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Sep 2009 11:55:27 +0200 Received: from sb by p5b3765e8.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Sep 2009 11:55:27 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: internals@lists.php.net Date: Thu, 03 Sep 2009 11:55:05 +0200 Lines: 15 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: p5b3765e8.dip.t-dialin.net User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) In-Reply-To: Sender: news Subject: Re: [PHP-DEV] ReflectionMethod::setAccessible() From: sb@sebastian-bergmann.de (Sebastian Bergmann) Sebastian Bergmann schrieb: > The patch below adds the ReflectionMethod::setAccessible() method and > adds support for the ignore_visibility flag that is controlled by this > method to ReflectionMethod::invoke() and ReflectionMethod::invokeArgs(). > > The patch complements ReflectionProperty::setAccessible() that was added > in PHP 5.3.0. It has been developed for PHP_5_3 and I am proposing it > for PHP 5.3.1 (it's a new feature, but a minor one). An updated version of the patch can be found at http://gist.github.com/180216. -- Sebastian Bergmann Co-Founder and Principal Consultant http://sebastian-bergmann.de/ http://thePHP.cc/