mirror of
https://github.com/php/php-src.git
synced 2026-04-21 23:18:13 +02:00
9fd8e00f1a
We shouldn't call the copy constructor inside the original type, duh.
10 lines
65 B
PHP
10 lines
65 B
PHP
<?php
|
|
|
|
trait T {
|
|
public X|Y $prop;
|
|
}
|
|
|
|
class C {
|
|
use T;
|
|
}
|