Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37551 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12272 invoked from network); 8 May 2008 20:58:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 May 2008 20:58:47 -0000 Authentication-Results: pb1.pair.com smtp.mail=hannes.magnusson@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=hannes.magnusson@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.162.178 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: hannes.magnusson@gmail.com X-Host-Fingerprint: 209.85.162.178 el-out-1112.google.com Received: from [209.85.162.178] ([209.85.162.178:19915] helo=el-out-1112.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 27/34-23700-78963284 for ; Thu, 08 May 2008 16:58:47 -0400 Received: by el-out-1112.google.com with SMTP id o28so292311ele.2 for ; Thu, 08 May 2008 13:58:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=KMZWcI0dycMffyiJtl/zP/HvaHvtEtckzYfYa8YM6cg=; b=F3SlRNH4BUWiPbo/N5YJWvI5dEUzDTNALNGCC3zlCoSEUrAEs75RrXtwhWsJHGo1uG1Ly+ozBF5Bp9YHJr0UCJFAkTayBG16czGa5B1ch8VxKbcD5xdAEv0gDTkdEzHHWUE3TFF6mZUfjIXQZpDLB7bza/c3+yWbY5TCCY8wdSQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qfikdl344DOQAbFgQpMXF8KbQBIAxo0XrLkmIYqi1D6GJF24U15+NU4VyoKMKvCuEuNeLEOSgo9wBfOyG5cj3y+qw6XfzfsFfPCNIiUXKilrE99FhnRMINNPsMgyqyTIQkfOfuVHt08ZJFWTv4mIrGvj0c58jkWos0xMuhhjXZc= Received: by 10.143.39.16 with SMTP id r16mr1589583wfj.283.1210280324563; Thu, 08 May 2008 13:58:44 -0700 (PDT) Received: by 10.142.170.21 with HTTP; Thu, 8 May 2008 13:58:44 -0700 (PDT) Message-ID: <7f3ed2c30805081358r4741711egdb22bd402846965f@mail.gmail.com> Date: Thu, 8 May 2008 22:58:44 +0200 To: "Todd Ruth" Cc: internals In-Reply-To: <1210277285.8421.23.camel@inspiron.local> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <021601c8b141$bbf64a50$4001a8c0@foxbox> <1210277285.8421.23.camel@inspiron.local> Subject: Re: [PHP-DEV] allow_call_time_pass_reference From: hannes.magnusson@gmail.com ("Hannes Magnusson") On Thu, May 8, 2008 at 10:08 PM, Todd Ruth wrote: > On Thu, 2008-05-08 at 20:28 +0100, Steph Fox wrote: >> ... >> Does anyone have a good reason for keeping it switched on by default in PHP >> 5.3? Like, would switching it off by default break a lot of existing code, >> given that most users are a bit beyond PHP 3 now? > > Well, I can at least comment on how it is used in the code that > I inherited. First it must be noted that the following throws > a fatal error: > > function f(&$x=5) { .... No it doesn't. That line does however not work exactly as you would expect.. -Hannes