Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22987 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2957 invoked by uid 1010); 27 Apr 2006 04:44:40 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 2942 invoked from network); 27 Apr 2006 04:44:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Apr 2006 04:44:40 -0000 X-PHP-List-Original-Sender: brianm@dealnews.com X-Host-Fingerprint: 129.41.69.185 smtp.dealnews.com Linux 2.5 (sometimes 2.4) (4) Received: from ([129.41.69.185:29809] helo=smtp.dealnews.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 50/A3-19715-83C40544 for ; Thu, 27 Apr 2006 00:44:40 -0400 Received: (qmail 4418 invoked from network); 27 Apr 2006 00:44:34 -0400 Received: from unknown (HELO ?10.1.6.4?) (10.1.6.4) by 10.1.1.24 with SMTP; 27 Apr 2006 00:44:34 -0400 Message-ID: <44504C1A.7050700@dealnews.com> Date: Wed, 26 Apr 2006 23:44:10 -0500 User-Agent: Thunderbird 1.5.0.2 (Macintosh/20060406) MIME-Version: 1.0 To: Rasmus Lerdorf CC: internals@lists.php.net References: <444FF5CD.2010805@dealnews.com> <444FF716.6070201@lerdorf.com> In-Reply-To: <444FF716.6070201@lerdorf.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Passing functions to function by reference From: brianm@dealnews.com (Brian Moon) > In 5.1 this now throws an E_STRICT instead of a warning. It is still a > bad idea to pass a tempvar by reference, so yes, you should strive to > write E_STRICT clean code. Yeah, its more of a question of rewriting 6 years of PHP or not. We were half way done when we upgraded the dev machines to 5.1. Brian.