Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45453 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 73280 invoked from network); 2 Sep 2009 21:49:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Sep 2009 21:49:54 -0000 Authentication-Results: pb1.pair.com header.from=php@stefan-marr.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=php@stefan-marr.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain stefan-marr.de from 85.88.12.247 cause and error) X-PHP-List-Original-Sender: php@stefan-marr.de X-Host-Fingerprint: 85.88.12.247 toolslave.net Received: from [85.88.12.247] ([85.88.12.247:43146] helo=uhweb12247.united-hoster.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 12/20-06284-F78EE9A4 for ; Wed, 02 Sep 2009 17:49:52 -0400 Received: from cust194-138.dsl.versadsl.be ([62.166.194.138] helo=[192.168.0.17]) by uhweb12247.united-hoster.com with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1Mixi1-0000rN-VX for internals@lists.php.net; Wed, 02 Sep 2009 23:49:45 +0200 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 2 Sep 2009 23:49:38 +0200 Message-ID: <284CDAAF-BA74-485B-BCE7-FBAD5E4BDEAD@stefan-marr.de> To: internals@lists.php.net Mime-Version: 1.0 (Apple Message framework v1074) X-Mailer: Apple Mail (2.1074) Subject: Traits Patch available for Testing and Comments on PHP 5.3 and PHP 6 From: php@stefan-marr.de (Stefan Marr) Dear internals: Has been a while since we discussed whether the idea of Traits fits into the programming model of PHP. To encourage further discussion and experiments, I managed to update some tests, to fix some bugs, and eventually to use GitHub to make it accessible to you. Please find a version for PHP 5.3 at: http://github.com/gron/php-src/tree/PHP_5_3-traits and a version for PHP 6 at: http://github.com/gron/php-src/tree/PHP_6-traits For a basic introduction please refer to * the RFC: http://wiki.php.net/rfc/horizontalreuse * the test cases available in the source folder under: Zend/tests/traits and of course ask my directly or on this list. Best regards Stefan