Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37563 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62375 invoked from network); 9 May 2008 11:11:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 May 2008 11:11:35 -0000 Authentication-Results: pb1.pair.com header.from=steph@zend.com; sender-id=softfail Authentication-Results: pb1.pair.com smtp.mail=steph@zend.com; spf=softfail; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain zend.com does not designate 64.97.136.132 as permitted sender) X-PHP-List-Original-Sender: steph@zend.com X-Host-Fingerprint: 64.97.136.132 smtpout0132.sc1.he.tucows.com Solaris 8 (1) Received: from [64.97.136.132] ([64.97.136.132:42686] helo=n068.sc1.he.tucows.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 24/15-34643-26134284 for ; Fri, 09 May 2008 07:11:31 -0400 Received: from sc1-out02.emaildefenseservice.com (64.97.139.2) by n068.sc1.he.tucows.com (7.2.069.1) id 4769316E01455392; Fri, 9 May 2008 11:11:27 +0000 X-SpamScore: 2 X-Spamcatcher-Summary: 2,0,0,67b80ce3e6954d95,a11297d90bcb5ce7,steph@zend.com,-,RULES_HIT:355:379:539:540:541:542:543:567:599:601:945:967:973:980:988:989:1155:1156:1260:1277:1311:1313:1314:1345:1437:1515:1516:1518:1534:1539:1587:1593:1594:1711:1730:1747:1766:1792:2073:2075:2078:2379:2393:2525:2559:2563:2682:2685:2693:2828:2857:2859:2933:2937:2939:2942:2945:2947:2951:2954:3022:3027:3352:3622:3865:3867:3868:3869:3870:3871:3872:3874:3934:3936:3938:3941:3944:3947:3950:4250:4886:5007: 6119:6261:7679:7875:7903,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:none,DNSBL:none,TSO:0 X-Spamcatcher-Explanation: Received: from foxbox (host86-130-56-54.range86-130.btcentralplus.com [86.130.56.54]) (Authenticated sender: steph.fox) by sc1-out02.emaildefenseservice.com (Postfix) with ESMTP; Fri, 9 May 2008 11:11:26 +0000 (UTC) Message-ID: <00f801c8b1c5$942cd960$4001a8c0@foxbox> Reply-To: "Steph Fox" To: "Hannes Magnusson" Cc: "internals" References: <021601c8b141$bbf64a50$4001a8c0@foxbox> <7f3ed2c30805081429q239a5d14k1d80e29cbd46acf6@mail.gmail.com> Date: Fri, 9 May 2008 12:12:31 +0100 Organization: Zend Technologies MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: Re: [PHP-DEV] allow_call_time_pass_reference From: steph@zend.com ("Steph Fox") Hannes, > I'd say throw the warning if the switch is on and someone does > call-time-pass-by-reference and turn that switch off by default. That's exactly the situation we have now - a warning when the INI setting is changed, for code that by default runs silently. And we offer a recommendation to throw that warning in production. That's the real WTF! If call-time pass-by-ref is something that needs to be warned about, warn by default so everyone will get to see it during development. If it isn't something that needs to be warned about, why throw a warning at all? - Steph > > -Hannes > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >