/
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/bug60165c.phpt
--TEST-- Bug #60165 (Aliasing unexisting trait should throw/trigger the exception/error) --FILE-- <?php trait A { public function bar() {} } trait B { public function foo() {} } class MyClass { use A, B { foo as fooB; baz as foobar; } } ?> --EXPECTF-- Fatal error: An alias (foobar) was defined for method baz(), but this method does not exist in %s on line %d
Copyright ©2k19 -
Hexid
|
Tex7ure