Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48990 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90369 invoked from network); 1 Jul 2010 10:22:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Jul 2010 10:22:10 -0000 Authentication-Results: pb1.pair.com smtp.mail=rquadling@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rquadling@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.54 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: rquadling@gmail.com X-Host-Fingerprint: 74.125.82.54 mail-ww0-f54.google.com Received: from [74.125.82.54] ([74.125.82.54:36211] helo=mail-ww0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DE/F2-06668-F4C6C2C4 for ; Thu, 01 Jul 2010 06:22:08 -0400 Received: by wwb39 with SMTP id 39so753125wwb.11 for ; Thu, 01 Jul 2010 03:22:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:reply-to:from :date:message-id:subject:to:content-type; bh=jG8XfN2tsfEb6Sjvpy/ewRq6igYRHtzB8npbZ3MMK7o=; b=oWsa/oFrM6ZoAudaTQel0wTEdprfQcUNS8GUW8kOyIFzBpF41RWIbBaoSeh/jZPXnl 4A+NzCB3xDN82UJkfo1tUhuIcl3ueIYnknfkZtOzbmyWIQSZdlg1AeySYOyt9DqtHLbo p8D31zRh7Om2sZ7qhuwTv0mmlFlQwPJJ0yj+c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:from:date:message-id:subject:to:content-type; b=c6WVgBfJkdRRduM3amhAH0Z9GOJZg7B83OP6HGaCPpoEmV7ea0smrwvScomHCyLK4c 4KLpdkJS/tSLFMziVckB63da9RpwR8arCjfDJt376wHmUbb/nExf2PUPz+AQ94cJtkXI kkX4T1TMrEFTNlVDinlbB6TDd4TRGWgSkeL/k= Received: by 10.213.114.13 with SMTP id c13mr5107416ebq.64.1277979724362; Thu, 01 Jul 2010 03:22:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.21.143 with HTTP; Thu, 1 Jul 2010 03:21:39 -0700 (PDT) Reply-To: RQuadling@googlemail.com Date: Thu, 1 Jul 2010 11:21:39 +0100 Message-ID: To: PHP internals Content-Type: text/plain; charset=UTF-8 Subject: PHP 4 to PHP 5 change - allowing assignment to pass by reference function parameters. From: rquadling@gmail.com (Richard Quadling) Hi. Is there any documentation regarding this change? function ca_getUserDetails($pUserid, &$pResults=array()) {} is fully allowable in PHP 5+, but not in PHP 4. Depending upon version, the error is ... Parse error: parse error, expecting ')' or Parse error: syntax error, unexpected '=', expecting ')' I'm just looking for some notes to pass on. Thank you. Richard. -- ----- Richard Quadling "Standing on the shoulders of some very clever giants!" EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 ZOPA : http://uk.zopa.com/member/RQuadling