mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00

Normally the filename is the current filename, but when traits are involved, it might be a different one.
7 lines
84 B
PHP
7 lines
84 B
PHP
<?php
|
|
|
|
trait T {
|
|
public function foo(): string {
|
|
return "oops";
|
|
}
|
|
}
|