mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
17 lines
261 B
PHP
17 lines
261 B
PHP
--TEST--
|
|
Bug #69174 (leaks when unused inner class use traits precedence)
|
|
--FILE--
|
|
<?php
|
|
function test() {
|
|
class C1 {
|
|
use T1, T2 {
|
|
T1::foo insteadof T2;
|
|
T1::bar insteadof T2;
|
|
}
|
|
}
|
|
}
|
|
?>
|
|
==DONE==
|
|
--EXPECT--
|
|
==DONE==
|