File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / Zend / tests / bug63219.phpt
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Mon Jul 22 01:32:17 2013 UTC (11 years, 8 months ago) by misho
Branches: php, MAIN
CVS tags: v5_4_29p0, v5_4_29, v5_4_20p0, v5_4_20, v5_4_17, HEAD
5.4.17

    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>