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

1.1     ! misho       1: --TEST--
        !             2: Bug #60165 (Aliasing unexisting trait should throw/trigger the exception/error)
        !             3: --FILE--
        !             4: <?php
        !             5: 
        !             6: trait A {
        !             7:     public function bar() {}
        !             8: }
        !             9: 
        !            10: class MyClass {
        !            11:     use A {
        !            12:         A::nonExistent as barA;
        !            13:     }
        !            14: }
        !            15: 
        !            16: --EXPECTF--
        !            17: Fatal error: An alias was defined for A::nonExistent but this method does not exist in %s on line %d

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