Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31984 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48416 invoked by uid 1010); 30 Aug 2007 13:19:05 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 48401 invoked from network); 30 Aug 2007 13:19:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Aug 2007 13:19:05 -0000 Authentication-Results: pb1.pair.com smtp.mail=rquadling@googlemail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rquadling@googlemail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 64.233.162.227 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: rquadling@googlemail.com X-Host-Fingerprint: 64.233.162.227 nz-out-0506.google.com Received: from [64.233.162.227] ([64.233.162.227:3572] helo=nz-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9F/61-35128-6C3C6D64 for ; Thu, 30 Aug 2007 09:19:03 -0400 Received: by nz-out-0506.google.com with SMTP id x7so410343nzc for ; Thu, 30 Aug 2007 06:19:00 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cJPTmw/OZdnKnK8PZKLkhUfuN3w7nup3QGQ0UDfazjCIZnXqnqecgsX59wK2wMpSJ22KYoQarwEjLja92+4PjrnyIWCILRaWy9S3duKL+O+F+n+a6mtaj0DcpnEztlYh4pRbaKRjESjVnC8l+makQARiHDDaPJ2vPi1c7C7g2cU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MIGiN+IZcl+HpHIuxXN7Ags7DTpZYwrdwW9X8BghcFPY0SdB/XBxOqyHNCAdjRy1AnuKkyFlClgUjwSyz/NA2fiTaq4xuRmq3ojTojM0JQjKprBdklV8JolEpjvmzr/OSIBHfdYZ++UAguPmvPWGsdg8Sz38JHVwIASGdArxSrk= Received: by 10.114.157.1 with SMTP id f1mr456432wae.1188479938937; Thu, 30 Aug 2007 06:18:58 -0700 (PDT) Received: by 10.114.205.19 with HTTP; Thu, 30 Aug 2007 06:18:58 -0700 (PDT) Message-ID: <10845a340708300618s6ac1d56cnd501f8c46cb3f16a@mail.gmail.com> Date: Thu, 30 Aug 2007 14:18:58 +0100 Reply-To: RQuadling@GoogleMail.com To: "Antony Dovgal" Cc: php-dev In-Reply-To: <46D6BE5F.8060900@zend.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <46D6BE5F.8060900@zend.com> Subject: Re: [PHP-DEV] [PATCH] disallow arguments by ref in magic methods From: rquadling@googlemail.com ("Richard Quadling") On 30/08/2007, Antony Dovgal wrote: > Hello. > > I'd like to commit these two patches (for HEAD and 5_2 appropriately). > The patches disallow declaring any magic methods as accepting arguments by ref (which makes no sense anyway). Why not. Sure, on __set()/__get()/__unset() it could be considered pointless, but for __call()? > If there are no objections, I'm going to commit them later in the evening. -- ----- Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!"