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\HttpFoundation\Tests\File;
use Symfony\Component\HttpFoundation\File\File as OrigFile;
class FakeFile extends OrigFile
{
private string $realpath;
public function __construct(string $realpath, string $path)
{
$this->realpath = $realpath;
parent::__construct($path, false);
}
public function isReadable(): bool
{
return true;
}
public function getRealpath(): string
{
return $this->realpath;
}
public function getSize(): int
{
return 42;
}
public function getMTime(): int
{
return time();
}
}
?>
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\HttpFoundation\Tests\File;
use Symfony\Component\HttpFoundation\File\File as OrigFile;
class FakeFile extends OrigFile
{
private string $realpath;
public function __construct(string $realpath, string $path)
{
$this->realpath = $realpath;
parent::__construct($path, false);
}
public function isReadable(): bool
{
return true;
}
public function getRealpath(): string
{
return $this->realpath;
}
public function getSize(): int
{
return 42;
}
public function getMTime(): int
{
return time();
}
}
Function Calls
None |
Stats
MD5 | 000196c770cba7874411f4b31835846f |
Eval Count | 0 |
Decode Time | 93 ms |