Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37796 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 92807 invoked from network); 22 May 2008 10:51:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 May 2008 10:51:38 -0000 Authentication-Results: pb1.pair.com smtp.mail=lew21st@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=lew21st@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.146.176 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: lew21st@gmail.com X-Host-Fingerprint: 209.85.146.176 wa-out-1112.google.com Received: from [209.85.146.176] ([209.85.146.176:15385] helo=wa-out-1112.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 87/37-53818-93055384 for ; Thu, 22 May 2008 06:51:38 -0400 Received: by wa-out-1112.google.com with SMTP id v27so3291932wah.17 for ; Thu, 22 May 2008 03:51:35 -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=PMdGuV3EhT6uRBHBRue2D9w980M6+VifQRFUiexmNe8=; b=A5rrG5tvaHbVTVokyTkgOvVGGJU6bitdfFxU4RPzQ3QS+EK45YYF5rM6Vc8Efgz8TRSg3vGbArPNg36CJ95tVsQpxyKTvQdwPBPKB1acMAUBqpSktMij1Ec4YVD8/8GtJxWkENDOeL3rbN8Iha/4A6ZXAwgolvQIfNE94raSvIM= 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=ujew/ltfUlH6MCf9NPEWB8LhEbwSmyv/Jta0+K1/oEYzGzGIjpKf9Pln2bAiskcK0VUaedA5M6GYVna9nX5Lep1xbe6Fqtp2TQl3v86Q3IlQ2Ka43KmNbenlamJ0sU+XFrfSictJty6Tilovau9LB2gjY2a14NPEkcRDGsy3Wbs= Received: by 10.114.53.1 with SMTP id b1mr296402waa.53.1211453492022; Thu, 22 May 2008 03:51:32 -0700 (PDT) Received: by 10.114.67.4 with HTTP; Thu, 22 May 2008 03:51:31 -0700 (PDT) Message-ID: <353f2c6f0805220351h3c043365r10892bab18ab35d0@mail.gmail.com> Date: Thu, 22 May 2008 12:51:31 +0200 To: "Alexey Zakhlestin" Cc: internals@lists.php.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <012701c8bb44$68f8b880$4401a8c0@foxbox> <48342DB7.2020108@isdg.net> <353f2c6f0805211141m9719d58xe0a128adbc14b656@mail.gmail.com> <353f2c6f0805211146p43d6aa96u9e6e03e82490b1c@mail.gmail.com> Subject: Re: [PHP-DEV] RFC: allow_call_pass_by_reference From: lew21st@gmail.com (LEW21) 2008/5/22, Alexey Zakhlestin : > On Wed, May 21, 2008 at 10:46 PM, LEW21 wrote: > > Sometimes call time pass by reference is useful, for example when you > > want to make it possible to omit an param (normally passed by > > reference) by setting null. With no call time pass by reference, > > programmers are required to write: > > > > $null = null; > > foo($null); > > > what stops you from declaring: > > function someFunc(&$param = null) > { > } > > it works just fine And what if this param isn't the last param of this function, and next params are required?