mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
1c6df2dffd
Normally the filename is the current filename, but when traits are involved, it might be a different one.
8 lines
84 B
PHP
8 lines
84 B
PHP
<?php
|
|
|
|
trait T {
|
|
public function foo(): string {
|
|
return "oops";
|
|
}
|
|
}
|