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 if (YII_ENV_PROD) { echo \common\models\Setting::findOne(['key' => 'code-body-..
Decoded Output download
<?php
if (YII_ENV_PROD) {
echo \common\models\Setting::findOne(['key' => 'code-body-top', 'active' => true])->value ?? '';
}
?>
<?php $this->beginBody() ?>
<?php
$isB = Yii::$app->request->get('expvar') == 1
|| (
(Yii::$app->request->cookies->get('expvar')->value ?? false) == 1
&& Yii::$app->request->get('expvar') !== '0'
);
?>
<?php if ($isB): ?>
<?= $this->render('_header_b') ?>
<?php else: ?>
<?= $this->render('_header_a') ?>
<?php endif ?>
<?= $content ?>
<?php if ($isB): ?>
<?= $this->render('_footer_b') ?>
<?php else: ?>
<?= $this->render('_footer_a') ?>
<?php endif ?>
Did this file decode correctly?
Original Code
<?php
if (YII_ENV_PROD) {
echo \common\models\Setting::findOne(['key' => 'code-body-top', 'active' => true])->value ?? '';
}
?>
<?php $this->beginBody() ?>
<?php
$isB = Yii::$app->request->get('expvar') == 1
|| (
(Yii::$app->request->cookies->get('expvar')->value ?? false) == 1
&& Yii::$app->request->get('expvar') !== '0'
);
?>
<?php if ($isB): ?>
<?= $this->render('_header_b') ?>
<?php else: ?>
<?= $this->render('_header_a') ?>
<?php endif ?>
<?= $content ?>
<?php if ($isB): ?>
<?= $this->render('_footer_b') ?>
<?php else: ?>
<?= $this->render('_footer_a') ?>
<?php endif ?>
Function Calls
None |
Stats
MD5 | 024a162dce188fe3751f4e0d41e7a344 |
Eval Count | 0 |
Decode Time | 82 ms |