Annotation of embedaddon/php/Zend/tests/traits/bug60173.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Bug #60173 (Wrong error message on reflective trait instantiation)
        !             3: --FILE--
        !             4: <?php
        !             5: 
        !             6: trait foo { }
        !             7: 
        !             8: $rc = new ReflectionClass('foo');
        !             9: $rc->newInstance();
        !            10: 
        !            11: --EXPECTF--
        !            12: Fatal error: Cannot instantiate trait foo in %s on line %d

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>