/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
Zend
/
tests
/
File Upload :
llllll
Current File: //usr/local/lsws/phpbuild/php-8.0.7/Zend/tests/lsb_017.phpt
--TEST-- ZE2 Late Static Binding nested calls --FILE-- <?php class A { public static function test($x=null) { if (!is_null($x)) { echo "$x\n"; } return get_called_class(); } } class B extends A { } class C extends A { } class D extends A { } echo A::test(B::test(C::test(D::test())))."\n"; ?> --EXPECT-- D C B A
Copyright ©2k19 -
Hexid
|
Tex7ure