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.140.254.100
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 catching fatal errors when handlers are nested --FILE-- <?php namespace Symfony\Component\Debug; $vendor = __DIR__; while (!file_exists($vendor.'/vendor')) { $vendor = \dirname($vendor); } require $vendor.'/vendor/autoload.php'; Debug::enable(); ini_set('display_errors', 0); $eHandler = set_error_handler('var_dump'); $xHandler = set_exception_handler('var_dump'); var_dump(array( $eHandler[0] === $xHandler[0] ? 'Error and exception handlers do match' : 'Error and exception handlers are different', )); $eHandler[0]->setExceptionHandler('print_r'); if (true) { class Broken implements \Serializable { } } ?> --EXPECTF-- array(1) { [0]=> string(37) "Error and exception handlers do match" } object(Symfony\Component\Debug\Exception\FatalErrorException)#%d (%d) { ["message":protected]=> string(199) "Error: Class Symfony\Component\Debug\Broken contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (Serializable::serialize, Serializable::unserialize)" %a }