Bug #61782 [Opn->Csd]: __clone/__destruct do not match other methods when checking access controls

From: Date: Sun, 17 Nov 2013 09:32:39 +0000
Subject: Bug #61782 [Opn->Csd]: __clone/__destruct do not match other methods when checking access controls
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-182791@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=61782&edit=1 ID: 61782 Updated by: laruence@php.net Reported by: stas@php.net Summary: __clone/__destruct do not match other methods when checking access controls -Status: Open +Status: Closed Type: Bug Package: Scripting Engine problem PHP Version: 5.4.1RC2 Block user comment: N Private report: N New Comment: Automatic comment on behalf of stas Revision: http://git.php.net/?p=php-src.git;a=commit;h=d03900dc92af6d47921143f226217eae3ca564b7 Log: fix bug #61782 - __clone/__destruct do not match other methods when checking access controls Previous Comments: ------------------------------------------------------------------------ [2013-09-27 12:04:38] r dot wilczek at web-appz dot de reproducable in PHP 5.5.2 class Foo { public function getClone() { return clone $this; } private function __clone() {} } class Bar extends Foo {} (new Bar)->getClone(); // Call to private Bar::__clone() from context 'Foo' ------------------------------------------------------------------------ [2012-07-24 23:36:03] rasmus@php.net Automatic comment on behalf of stas Revision: http://git.php.net/?p=php-src.git;a=commit;h=d03900dc92af6d47921143f226217eae3ca564b7 Log: fix bug #61782 - __clone/__destruct do not match other methods when checking access controls ------------------------------------------------------------------------ [2012-05-15 07:45:38] mike@php.net Automatic comment on behalf of stas Revision: http://git.php.net/?p=php-src.git;a=commit;h=a0dff6fdcae1f4eaa96e68d1429fd38876c2796e Log: fix bug #61782 - __clone/__destruct do not match other methods when checking access controls ------------------------------------------------------------------------ [2012-05-14 18:03:48] stas@php.net Automatic comment on behalf of stas Revision: http://git.php.net/?p=php-src.git;a=commit;h=d03900dc92af6d47921143f226217eae3ca564b7 Log: fix bug #61782 - __clone/__destruct do not match other methods when checking access controls ------------------------------------------------------------------------ [2012-05-13 21:48:42] stas@php.net Automatic comment on behalf of stas Revision: http://git.php.net/?p=php-src.git;a=commit;h=a0dff6fdcae1f4eaa96e68d1429fd38876c2796e Log: fix bug #61782 - __clone/__destruct do not match other methods when checking access controls ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=61782 -- Edit this bug report at https://bugs.php.net/bug.php?id=61782&edit=1

« previous php.bugs (#182791) next »