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 use app\models\ResourceInfo; use yii\bootstrap\Html; /* @var $this yii\web\View */ ..
Decoded Output download
<?php
use app\models\ResourceInfo;
use yiiootstrap\Html;
/* @var $this yii\web\View */
/* @var $locale string */
/* @var $query string */
/* @var $title string */
echo $this->render('_locale', ['locale' => $locale, 'title' => 'ICU Zone Data']);
if ($locale):
?>
<h2 id="icu-data-zone">ICU Zone Data <small><a href="#icu-data-zone">#</a></small></h2>
<p>In PHP you may retrieve this data using the following code:</p>
<pre>
<?= '<?php' ?>
$data = ResourceBundle::create('<?= Html::encode($locale) ?>', 'ICUDATA-zone');
foreach($data as $name => $value) {
echo "$name: " . print_r($value, true);
}
</pre>
<?= $this->render('_icuData', ['icuData' => ResourceInfo::zoneData($locale)]) ?>
<?php endif; ?>
Did this file decode correctly?
Original Code
<?php
use app\models\ResourceInfo;
use yii\bootstrap\Html;
/* @var $this yii\web\View */
/* @var $locale string */
/* @var $query string */
/* @var $title string */
echo $this->render('_locale', ['locale' => $locale, 'title' => 'ICU Zone Data']);
if ($locale):
?>
<h2 id="icu-data-zone">ICU Zone Data <small><a href="#icu-data-zone">#</a></small></h2>
<p>In PHP you may retrieve this data using the following code:</p>
<pre>
<?= '<?php' ?>
$data = ResourceBundle::create('<?= Html::encode($locale) ?>', 'ICUDATA-zone');
foreach($data as $name => $value) {
echo "$name: " . print_r($value, true);
}
</pre>
<?= $this->render('_icuData', ['icuData' => ResourceInfo::zoneData($locale)]) ?>
<?php endif; ?>
Function Calls
None |
Stats
MD5 | 6bfe53b675a1d04f7a8fcb976c8a1a19 |
Eval Count | 0 |
Decode Time | 106 ms |