Annotation of embedaddon/php/Zend/tests/traits/language018.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: abstract alias
                      3: --FILE--
                      4: <?php
                      5: trait T1 {
                      6:        function foo() {}
                      7: }
                      8: class C1 {
                      9:        use T1 {
                     10:                T1::foo as abstract;
                     11:        }
                     12: }
                     13: ?>
                     14: --EXPECTF--
                     15: Fatal error: Cannot use 'abstract' as method modifier in %s on line %d

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