mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
16 lines
237 B
PHP
16 lines
237 B
PHP
--TEST--
|
|
Unknown class in absolute trait precedence reference
|
|
--FILE--
|
|
<?php
|
|
|
|
trait T {}
|
|
class C {
|
|
use T {
|
|
WrongClass::method insteadof C;
|
|
}
|
|
}
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Could not find trait WrongClass in %s on line %d
|