Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36606 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34462 invoked from network); 27 Mar 2008 08:25:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Mar 2008 08:25:52 -0000 Authentication-Results: pb1.pair.com smtp.mail=marco.kaiser@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=marco.kaiser@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.166.178 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: marco.kaiser@gmail.com X-Host-Fingerprint: 64.233.166.178 py-out-1112.google.com Received: from [64.233.166.178] ([64.233.166.178:26308] helo=py-out-1112.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 47/60-32389-F0A5BE74 for ; Thu, 27 Mar 2008 03:25:51 -0500 Received: by py-out-1112.google.com with SMTP id u77so3961605pyb.16 for ; Thu, 27 Mar 2008 01:25:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=vQyzWaq0UFZ58sZTcCleLyP/T7uFtAb1DfRjoPqUveM=; b=F+BPyiu3+s+qq56V1pErqRffTNqSTRHqHIzrqXA37ibxQL9nbsqdWUzQEeOq8y0EQdK0GT0Q8C1ldu+SnjIraN0d/lD8bsmpB/2E/dlEQDRlAAcoe5bdZ5/Jg/UfJWf5zCp0jD8eQKaWYhx6CYjc8TugBZhOJmuV3lQAOmhpdzU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:mime-version:content-type; b=nl9eQ51Kwdvx+0OL2Mawt9lMHCo6C58GODNCegTWTGdqiPr4cuHH14/V6RUplkf1kEwkcck4/kSOJKgUMC5V+NWT55MBexEoLGA8r/QtPnEgU/NAZzcBbnKu4I6yTMer0/Icgp7Z7LmQqVVtoe1k43qXvZGnWn1eQyIV2IAanuQ= Received: by 10.64.184.16 with SMTP id h16mr2407614qbf.65.1206606348623; Thu, 27 Mar 2008 01:25:48 -0700 (PDT) Received: by 10.65.156.7 with HTTP; Thu, 27 Mar 2008 01:25:48 -0700 (PDT) Message-ID: Date: Thu, 27 Mar 2008 09:25:48 +0100 To: "PHP Developers Mailing List" , php-qa@lists.php.net MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_9462_15482070.1206606348621" Subject: BC break with php 5.2.6 From: marco.kaiser@gmail.com ("Marco Kaiser") ------=_Part_9462_15482070.1206606348621 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, i noticed that some changes was made that 100% break all apps that do such stuff: class x extends y { public static function foo() { new self(); } } class y { private function __construct() { echo 'y::__construct()' . PHP_EOL; } } x::foo(); with php 5.2.5 i works so that i get an output "y::__construct()" but with 5.2.6RC and -DEV it throws an fatal error: Fatal error: Call to private y::__construct() from context 'x' i can remember that i asked a related question last year and someone told me it is ok so and its a know behavior. This change will ie. break ZF too. Any suggestions to this behavior? -- Marco Kaiser ------=_Part_9462_15482070.1206606348621--