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 /** * Passbolt ~ Open source password manager for teams * Copyright (c) Passbolt S..

Decoded Output download

<?php
/**
 * Passbolt ~ Open source password manager for teams
 * Copyright (c) Passbolt SA (https://www.passbolt.com)
 *
 * Licensed under GNU Affero General Public License version 3 of the or any later version.
 * For full copyright and license information, please see the LICENSE.txt
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright (c) Passbolt SA (https://www.passbolt.com)
 * @license       https://opensource.org/licenses/AGPL-3.0 AGPL License
 * @link          https://www.passbolt.com Passbolt(tm)
 * @since         2.13.0
 * @var \App\View\AppView $this
 */
use App\Utility\Purifier;
use Cake\Core\Configure;
use Cake\Http\Exception\InternalErrorException;

if (!isset($report)) {
    throw new InternalErrorException();
}

$this->assign('title', Purifier::clean($report['name']));
$this->Html->css('themes/default/api_reports.min.css?v='
    . Configure::read('passbolt.version'), ['block' => 'css', 'fullBase' => true]);

$subReports = $report['data'] ?? [];

foreach ($subReports as $report) {
    $reportElement = Purifier::clean($report['slug']);
    echo $this->element($reportElement, [ 'report' => $report]);
}
 ?>

Did this file decode correctly?

Original Code

<?php
/**
 * Passbolt ~ Open source password manager for teams
 * Copyright (c) Passbolt SA (https://www.passbolt.com)
 *
 * Licensed under GNU Affero General Public License version 3 of the or any later version.
 * For full copyright and license information, please see the LICENSE.txt
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright (c) Passbolt SA (https://www.passbolt.com)
 * @license       https://opensource.org/licenses/AGPL-3.0 AGPL License
 * @link          https://www.passbolt.com Passbolt(tm)
 * @since         2.13.0
 * @var \App\View\AppView $this
 */
use App\Utility\Purifier;
use Cake\Core\Configure;
use Cake\Http\Exception\InternalErrorException;

if (!isset($report)) {
    throw new InternalErrorException();
}

$this->assign('title', Purifier::clean($report['name']));
$this->Html->css('themes/default/api_reports.min.css?v='
    . Configure::read('passbolt.version'), ['block' => 'css', 'fullBase' => true]);

$subReports = $report['data'] ?? [];

foreach ($subReports as $report) {
    $reportElement = Purifier::clean($report['slug']);
    echo $this->element($reportElement, [ 'report' => $report]);
}

Function Calls

None

Variables

None

Stats

MD5 d93474f718cbd62ac76e47b984aa434f
Eval Count 0
Decode Time 90 ms