Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19522 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 44606 invoked by uid 1010); 8 Oct 2005 22:19:59 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 44591 invoked from network); 8 Oct 2005 22:19:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Oct 2005 22:19:59 -0000 X-Host-Fingerprint: 195.197.172.115 gw01.mail.saunalahti.fi Linux 2.4/2.6 Received: from ([195.197.172.115:48762] helo=gw01.mail.saunalahti.fi) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id A7/65-54476-E0648434 for ; Sat, 08 Oct 2005 18:19:58 -0400 Received: from nest.netphobia.fi (YZDCXXXI.dsl.saunalahti.fi [85.76.35.232]) by gw01.mail.saunalahti.fi (Postfix) with ESMTP id A9B42F1CBF; Sun, 9 Oct 2005 01:19:52 +0300 (EEST) Received: from nest.netphobia.fi (nest.netphobia.fi [127.0.0.1]) by nest.netphobia.fi (8.13.1/8.13.1) with ESMTP id j98MJtjR023318; Sun, 9 Oct 2005 01:19:55 +0300 Received: from localhost (jani@localhost) by nest.netphobia.fi (8.13.1/8.13.1/Submit) with ESMTP id j98MJtjd023315; Sun, 9 Oct 2005 01:19:55 +0300 X-Authentication-Warning: nest.netphobia.fi: jani owned process doing -bs Date: Sun, 9 Oct 2005 01:19:55 +0300 (EEST) Reply-To: Jani Taskinen To: Matthias Pigulla cc: internals@lists.php.net In-Reply-To: <00A2E2156BEE8446A81C8881AE117F192C15D3@companyweb> Message-ID: References: <00A2E2156BEE8446A81C8881AE117F192C15D3@companyweb> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: [PHP-DEV] return /* by reference */ new Foo() in PHP4 From: sniper@iki.fi (Jani Taskinen) On Sat, 8 Oct 2005, Matthias Pigulla wrote: > So, in case of "return new", wouldn't it make sense to remove the > warning as the code is 'legal'? And please, don't start a new "it's just > a friendly notice" flame war. It's just a notice, tune your error_reporting level accordingly. --Jani