Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46403 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5386 invoked from network); 12 Dec 2009 17:08:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Dec 2009 17:08:49 -0000 Authentication-Results: pb1.pair.com smtp.mail=keisial@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=keisial@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.219.226 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: keisial@gmail.com X-Host-Fingerprint: 209.85.219.226 mail-ew0-f226.google.com Received: from [209.85.219.226] ([209.85.219.226:44261] helo=mail-ew0-f226.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C2/20-03442-02EC32B4 for ; Sat, 12 Dec 2009 12:08:49 -0500 Received: by ewy26 with SMTP id 26so2181793ewy.23 for ; Sat, 12 Dec 2009 09:08:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=KKOWBwmhYlBNkbq1iqxPJ1o2tzHjJutP8PDJAlSSuGU=; b=LHiJP/gTMimS9o5xZEBd+vtR9CGtpwCXnAZMAXo4r6qvBEAN3OcVk66ecnF5DSM/4m LFcKn7iHYuYC+wEEgp4C7Vx+CP5CXKZRZlx2+gogTrtMj0Rhsb5RPM3idRdphbhLq8g6 KvSevs3kUA5ZGhIy97dkEZ2E4AQt4P48lcy3M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=rPS9wLCDGL3fCKGGcYNq3Uh2aFO8NuegdKWQjxwRYmmJ32SeWy2bZqrQj1hQF6Jo1p O7cB9AbB6duXN8urEXlXoQz/H5mVQYK0dA82D9e+sb01jYu1obsxcoMO31EPMYSl7URv mSMNMELPAIdzqJKyD4Tw0kvJG+2pHwyeBhTnU= Received: by 10.213.110.7 with SMTP id l7mr1492924ebp.23.1260637725366; Sat, 12 Dec 2009 09:08:45 -0800 (PST) Received: from ?192.168.1.25? (114.Red-83-51-57.dynamicIP.rima-tde.net [83.51.57.114]) by mx.google.com with ESMTPS id 10sm5279168eyd.45.2009.12.12.09.08.42 (version=SSLv3 cipher=RC4-MD5); Sat, 12 Dec 2009 09:08:43 -0800 (PST) Message-ID: <4B23CE1C.4000407@gmail.com> Date: Sat, 12 Dec 2009 18:08:44 +0100 User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Tim Starling CC: PHP Developers Mailing List , ilia@prohost.org References: <4B2027FF.3050704@wikimedia.org> In-Reply-To: <4B2027FF.3050704@wikimedia.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PHP 5.3.1 reference parameter regression From: keisial@gmail.com (Keisial) Tim Starling wrote: > Since 5.3.1 it's impossible to have a reference parameter passed to a > __call() function. > This change causes bugs in MediaWiki, where an attempt by a proxy object > to pass a call through to a function that accepts reference parameters > will always fail, due to the exacerbating change made to reference > argument semantics in PHP 5.3.0. > > If we want MediaWiki to support PHP 5.3.1, we'll have to do some major > changes, like abandoning __call entirely, or rewriting all the relevant > interfaces to not use reference parameters. I'm not too keen about doing > this without getting some indication from the PHP dev team as to whether > this change is permanent or whether it will be fixed in an imminent PHP > 5.3.2 release. If it's going to be fixed soon, we can just blacklist PHP > 5.3.1 in our installer. > > I've tried emailing stas but I didn't get a reply. > > -- Tim Starling It's also broken in PHP 5.2.11 and 5.2.12 RC4. Works in 5.2.10 and 5.2.11RC1. Whatever change broke it, was backported and got into 5.2.11RC2. PS: Did mediawiki opt-out for release candidate announcements? It didn't receive emails about RCs for 5.2.12 branch.