FAQ
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

Search Discussions

  • Arvids Godjuks at Sep 4, 2009 at 6:38 am
    To me as a user-end developer this proposal sounds well thought throught and
    consistent. This time I understood everything that is written in RFC ;)
    Sorry I can't test it right now, but I definetly will give it a try.

    2009/9/3 Stefan Marr <php@stefan-marr.de>
    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

    --
    PHP Internals - PHP Runtime Development Mailing List
    To unsubscribe, visit: http://www.php.net/unsub.php

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupphp-internals @
categoriesphp
postedSep 2, '09 at 9:49p
activeSep 4, '09 at 6:38a
posts2
users2
websitephp.net

2 users in discussion

Arvids Godjuks: 1 post Stefan Marr: 1 post

People

Translate

site design / logo © 2022 Grokbase