Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35597 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63259 invoked by uid 1010); 19 Feb 2008 15:59:24 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 63244 invoked from network); 19 Feb 2008 15:59:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Feb 2008 15:59:24 -0000 Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 204.11.219.139 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 204.11.219.139 mail.lerdorf.com Received: from [204.11.219.139] ([204.11.219.139:49657] helo=mail.lerdorf.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FE/6F-55225-ADCFAB74 for ; Tue, 19 Feb 2008 10:59:23 -0500 Received: from [192.168.200.117] (c-24-6-219-206.hsd1.ca.comcast.net [24.6.219.206]) (authenticated bits=0) by mail.lerdorf.com (8.14.2/8.14.2/Debian-3) with ESMTP id m1JFxJTX007279 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 19 Feb 2008 07:59:19 -0800 Message-ID: <47BAFCD7.5050008@lerdorf.com> Date: Tue, 19 Feb 2008 07:59:19 -0800 User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Marcus Boerger CC: internals@lists.php.net References: <001c01c87264$3c01b4e0$b4051ea0$@de> <58510.98.193.37.55.1203374232.squirrel@www.l-i-e.com> <1e12984d0802181536t7fceafsef1975341ec29aff@mail.gmail.com> <75883486.20080219153222@marcus-boerger.de> In-Reply-To: <75883486.20080219153222@marcus-boerger.de> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.92.1/5886/Tue Feb 19 00:09:14 2008 on colo.lerdorf.com X-Virus-Status: Clean Subject: Re: [PHP-DEV] RFC: Traits for PHP From: rasmus@lerdorf.com (Rasmus Lerdorf) Marcus Boerger wrote: > Hello Stefan, > > any dynamic aspect of a class has brought us to problems in inheritance > and required us to design the objct/compile model in a way that > inheritance often is done at run time. Imo traits are a way out of this. > In fact I'd love to issue a deprecated message as soon as class is found > outside of a main block. That would mean deprecating autoload as well since autoloading a class is effectively the same as defining it outside of the main block. -Rasmus