/
proc
/
3430793
/
root
/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
Zend
/
tests
/
throw
/
File Upload :
llllll
Current File: //proc/3430793/root/usr/local/lsws/phpbuild/php-8.0.7/Zend/tests/throw/leaks.phpt
--TEST-- throw expression should not leak temporaries --FILE-- <?php try { new stdClass(throw new Exception); } catch (Exception $e) { echo "Caught\n"; } try { $a = []; ($a + [1]) + throw new Exception; } catch (Exception $e) { echo "Caught\n"; } try { @throw new Exception; } catch (Exception $e) { echo "Caught\n"; } var_dump(error_reporting()); ?> --EXPECT-- Caught Caught Caught int(32767)
Copyright ©2k19 -
Hexid
|
Tex7ure