Annotation of embedaddon/php/Zend/tests/traits/bugs/missing-trait.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Check error message for missing traits
        !             3: --FILE--
        !             4: <?php
        !             5: error_reporting(E_ALL);
        !             6: 
        !             7: class TraitsTest {
        !             8:   use THello;
        !             9: }
        !            10: 
        !            11: $test = new TraitsTest();
        !            12: 
        !            13: ?>
        !            14: --EXPECTF--    
        !            15: Fatal error: Trait 'THello' not found in %s on line %d

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