1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 08:28:26 +02:00
Files
archived-php-src/Zend/tests/traits/language018.phpt
T
2020-02-03 22:52:20 +01:00

16 lines
221 B
PHP

--TEST--
abstract alias
--FILE--
<?php
trait T1 {
function foo() {}
}
class C1 {
use T1 {
T1::foo as abstract;
}
}
?>
--EXPECTF--
Fatal error: Cannot use 'abstract' as method modifier in %s on line %d