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

1.1       misho       1: --TEST--
                      2: Bug #63219 (Segfault when aliasing trait method when autoloader throws excpetion)
                      3: --FILE--
                      4: <?php
                      5: trait TFoo {
                      6:     public function fooMethod(){}
                      7: }
                      8: 
                      9: class C {
                     10:     use TFoo {
                     11:         Typo::fooMethod as tf;
                     12:     }
                     13: }
                     14: 
                     15: echo "okey";
                     16: ?>
                     17: --EXPECTF--
                     18: Fatal error: Could not find trait Typo in %sbug63219.php on line %d

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