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\HTTP; /** * HTTP Response Mock object. ..

Decoded Output download

<?php

declare(strict_types=1);

namespace Sabre\HTTP;

/**
 * HTTP Response Mock object.
 *
 * This class exists to make the transition to sabre/http easier.
 *
 * @copyright Copyright (C) fruux GmbH (https://fruux.com/)
 * @author Evert Pot (http://evertpot.com/)
 * @license http://sabre.io/license/ Modified BSD License
 */
class SapiMock extends Sapi
{
    public static $sent = 0;

    /**
     * Overriding this so nothing is ever echo'd.
     */
    public static function sendResponse(ResponseInterface $response): void
    {
        ++self::$sent;
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

declare(strict_types=1);

namespace Sabre\HTTP;

/**
 * HTTP Response Mock object.
 *
 * This class exists to make the transition to sabre/http easier.
 *
 * @copyright Copyright (C) fruux GmbH (https://fruux.com/)
 * @author Evert Pot (http://evertpot.com/)
 * @license http://sabre.io/license/ Modified BSD License
 */
class SapiMock extends Sapi
{
    public static $sent = 0;

    /**
     * Overriding this so nothing is ever echo'd.
     */
    public static function sendResponse(ResponseInterface $response): void
    {
        ++self::$sent;
    }
}

Function Calls

None

Variables

None

Stats

MD5 de14fbd3c143e7410cbe5e5676ee6e6c
Eval Count 0
Decode Time 85 ms