/
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/bug43175.phpt
--TEST-- Bug #43175 (__destruct() throwing an exception with __call() causes segfault) --FILE-- <?php class foobar { public function __destruct() { throw new Exception(); } public function __call($m, $a) { return $this; } } function foobar() { return new foobar(); } try { foobar()->unknown(); } catch (Exception $e) { echo "__call via traditional factory should be caught\n"; } ?> --EXPECT-- __call via traditional factory should be caught
Copyright ©2k19 -
Hexid
|
Tex7ure