php-src/Zend/tests/bug81192_trait.inc
Nikita Popov 1c6df2dffd Fixed bug #81192
Normally the filename is the current filename, but when traits
are involved, it might be a different one.
2021-08-12 14:35:13 +02:00

8 lines
84 B
PHP

<?php
trait T {
public function foo(): string {
return "oops";
}
}