Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php declare(strict_types=1); namespace Sabre\DAV\Exception; use Sabre\DAV; /** * Le..
Decoded Output download
<?php
declare(strict_types=1);
namespace Sabre\DAV\Exception;
use Sabre\DAV;
/**
* LengthRequired.
*
* This exception is thrown when a request was made that required a
* Content-Length header, but did not contain one.
*
* @copyright Copyright (C) fruux GmbH (https://fruux.com/)
* @author Evert Pot (http://evertpot.com/)
* @license http://sabre.io/license/ Modified BSD License
*/
class LengthRequired extends DAV\Exception
{
/**
* Returns the HTTP statuscode for this exception.
*
* @return int
*/
public function getHTTPCode()
{
return 411;
}
}
?>
Did this file decode correctly?
Original Code
<?php
declare(strict_types=1);
namespace Sabre\DAV\Exception;
use Sabre\DAV;
/**
* LengthRequired.
*
* This exception is thrown when a request was made that required a
* Content-Length header, but did not contain one.
*
* @copyright Copyright (C) fruux GmbH (https://fruux.com/)
* @author Evert Pot (http://evertpot.com/)
* @license http://sabre.io/license/ Modified BSD License
*/
class LengthRequired extends DAV\Exception
{
/**
* Returns the HTTP statuscode for this exception.
*
* @return int
*/
public function getHTTPCode()
{
return 411;
}
}
Function Calls
None |
Stats
MD5 | 12f765632f75ca54a738ff4d02008699 |
Eval Count | 0 |
Decode Time | 93 ms |