/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
Zend
/
tests
/
traits
/
File Upload :
llllll
Current File: //usr/local/lsws/phpbuild/php-8.0.7/Zend/tests/traits/bug60217a.phpt
--TEST-- Bug #60217 (Requiring the same method from different traits.) --FILE-- <?php trait T1 { public abstract function foo(); } trait T2 { public abstract function foo(); } class C { use T1, T2; public function foo() { echo "C::foo() works.\n"; } } $o = new C; $o->foo(); ?> --EXPECT-- C::foo() works.
Copyright ©2k19 -
Hexid
|
Tex7ure