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