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.
*/
use Symfony\Component\Runtime\SymfonyRuntime;
$_SERVER['APP_RUNTIME_OPTIONS'] ??= [];
$_SERVER['APP_RUNTIME_OPTIONS'] += [
'project_dir' => __DIR__,
] + ($_SERVER['APP_RUNTIME_OPTIONS'] ?? []);
if (file_exists(dirname(__DIR__, 2).'/vendor/autoload.php')) {
if (true === (require_once dirname(__DIR__, 2).'/vendor/autoload.php') || empty($_SERVER['SCRIPT_FILENAME'])) {
return;
}
$app = require $_SERVER['SCRIPT_FILENAME'];
$runtime = $_SERVER['APP_RUNTIME'] ?? SymfonyRuntime::class;
$runtime = new $runtime($_SERVER['APP_RUNTIME_OPTIONS']);
[$app, $args] = $runtime->getResolver($app)->resolve();
exit($runtime->getRunner($app(...$args))->run());
}
if (!file_exists(dirname(__DIR__, 6).'/vendor/autoload_runtime.php')) {
throw new LogicException('Autoloader not found.');
}
require dirname(__DIR__, 6).'/vendor/autoload_runtime.php';
?>
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.
*/
use Symfony\Component\Runtime\SymfonyRuntime;
$_SERVER['APP_RUNTIME_OPTIONS'] ??= [];
$_SERVER['APP_RUNTIME_OPTIONS'] += [
'project_dir' => __DIR__,
] + ($_SERVER['APP_RUNTIME_OPTIONS'] ?? []);
if (file_exists(dirname(__DIR__, 2).'/vendor/autoload.php')) {
if (true === (require_once dirname(__DIR__, 2).'/vendor/autoload.php') || empty($_SERVER['SCRIPT_FILENAME'])) {
return;
}
$app = require $_SERVER['SCRIPT_FILENAME'];
$runtime = $_SERVER['APP_RUNTIME'] ?? SymfonyRuntime::class;
$runtime = new $runtime($_SERVER['APP_RUNTIME_OPTIONS']);
[$app, $args] = $runtime->getResolver($app)->resolve();
exit($runtime->getRunner($app(...$args))->run());
}
if (!file_exists(dirname(__DIR__, 6).'/vendor/autoload_runtime.php')) {
throw new LogicException('Autoloader not found.');
}
require dirname(__DIR__, 6).'/vendor/autoload_runtime.php';
Function Calls
None |
Stats
MD5 | 8c9a64db64684f25377ef067ab18a358 |
Eval Count | 0 |
Decode Time | 92 ms |