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 /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@..
Decoded Output download
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\RateLimiter\Tests\Resources;
use Symfony\Component\RateLimiter\LimiterStateInterface;
class DummyWindow implements LimiterStateInterface
{
private string $id;
private ?int $expirationTime;
public function __construct(string $id = 'test', ?int $expirationTime = 10)
{
$this->id = $id;
$this->expirationTime = $expirationTime;
}
public function getId(): string
{
return $this->id;
}
public function getExpirationTime(): ?int
{
return $this->expirationTime;
}
}
?>
Did this file decode correctly?
Original Code
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\RateLimiter\Tests\Resources;
use Symfony\Component\RateLimiter\LimiterStateInterface;
class DummyWindow implements LimiterStateInterface
{
private string $id;
private ?int $expirationTime;
public function __construct(string $id = 'test', ?int $expirationTime = 10)
{
$this->id = $id;
$this->expirationTime = $expirationTime;
}
public function getId(): string
{
return $this->id;
}
public function getExpirationTime(): ?int
{
return $this->expirationTime;
}
}
Function Calls
None |
Stats
MD5 | 27bbf37bed8fe2135e49c51a04ad0665 |
Eval Count | 0 |
Decode Time | 94 ms |