Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79430 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 82314 invoked from network); 4 Dec 2014 21:34:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Dec 2014 21:34:23 -0000 Authentication-Results: pb1.pair.com header.from=morrison.levi@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=morrison.levi@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.44 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.218.44 mail-oi0-f44.google.com Received: from [209.85.218.44] ([209.85.218.44:32885] helo=mail-oi0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 07/22-61462-E53D0845 for ; Thu, 04 Dec 2014 16:34:22 -0500 Received: by mail-oi0-f44.google.com with SMTP id e131so13170600oig.31 for ; Thu, 04 Dec 2014 13:34:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=NYqtJO09T69aPBvh4S+apqMs16tlLVkT//aTHSuZ5xY=; b=L2antanODB6ApomI6CMxmrJV0UyGN4f3TFDNbqFRjLzjaL7qmatUe0+glMUr4FyAW7 G5TQ+RgfI8r2nDtm4t4Mwj+xXqj7Fl6DqBQf1mBfeARX63CLExgn+/3Sdq9FW+J1c8EZ oeNQnsqlMlGBBTwIMgAWdbppoHGpu/WOiMBPT5zlM5H1ylTITvhFGuOGyp9VFr98LHCK p6++6YS14dUR/IWpvPmkf7cBy1/t1kN/rZQ63xPolf6++YWdOHm37EjlBYuTJHS+d1Ph gVOn4e12xHGvFf5klXXDy4Vi40dRguF2XYWpjev+jdLm/7tHNnv1U6h+0H/TAr94UHDG u0kQ== MIME-Version: 1.0 X-Received: by 10.60.55.200 with SMTP id u8mr8135883oep.43.1417728859958; Thu, 04 Dec 2014 13:34:19 -0800 (PST) Sender: morrison.levi@gmail.com Received: by 10.76.89.237 with HTTP; Thu, 4 Dec 2014 13:34:19 -0800 (PST) In-Reply-To: References: Date: Thu, 4 Dec 2014 14:34:19 -0700 X-Google-Sender-Auth: qh-A1rlmz6s01J3IDD9Ea6Bgg7o Message-ID: To: Kalle Sommer Nielsen Cc: Yasuo Ohgaki , "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Only variables can be passed by reference From: levim@php.net (Levi Morrison) > Thoughts? The only reason to take a parameter by reference is because you modify the variable that the caller is passing in. Passing in constants is *almost certainly* an error. I would rather have the warnings than remove them.