mirror of
https://github.com/php/php-src.git
synced 2024-09-24 19:37:26 +00:00
17 lines
225 B
Plaintext
17 lines
225 B
Plaintext
|
--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==
|