/
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/bug48408.phpt
--TEST-- Bug #48408 (crash when exception is thrown while passing function arguments) --FILE-- <?php class B{ public function process($x){ return $x; } } class C{ public function generate($x){ throw new Exception; } } $b = new B; $c = new C; try{ $b->process($c->generate(0)); } catch(Exception $e){ $c->generate(0); } ?> --EXPECTF-- Fatal error: Uncaught Exception in %s Stack trace: #0 %s(%d): C->generate(0) #1 {main} thrown in %s
Copyright ©2k19 -
Hexid
|
Tex7ure