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 Cloudinary PHP package. * * (c) Cloudinary * * F..

Decoded Output download

<?php
/**
 * This file is part of the Cloudinary PHP package.
 *
 * (c) Cloudinary
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Cloudinary\Samples;

require_once __DIR__ . '/../../SamplePageUtils.php';

/**
 * Class TagTab
 */
class TagTab extends BaseTab
{
    /**
     * @var string
     */
    protected $html;

    /**
     * TagTab constructor.
     *
     * @param string $code
     * @param string $html
     * @param string $title
     */
    public function __construct($code = '', $html = '', $title = 'TAG')
    {
        parent::__construct($title, $code);

        $this->html = $html;
    }

    public function getTabContent()
    {
        // TODO: add getFormattedHtml() function to SamplePageUtils

        return '
        <div
         class="url-content ml-3 tab-pane fade"
         role="tabpanel"
         aria-labelledby="url-tab"
        >' .
            getFormattedHtml($this->html) .
               '</div>
        </div>           
          </div>';
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php
/**
 * This file is part of the Cloudinary PHP package.
 *
 * (c) Cloudinary
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Cloudinary\Samples;

require_once __DIR__ . '/../../SamplePageUtils.php';

/**
 * Class TagTab
 */
class TagTab extends BaseTab
{
    /**
     * @var string
     */
    protected $html;

    /**
     * TagTab constructor.
     *
     * @param string $code
     * @param string $html
     * @param string $title
     */
    public function __construct($code = '', $html = '', $title = 'TAG')
    {
        parent::__construct($title, $code);

        $this->html = $html;
    }

    public function getTabContent()
    {
        // TODO: add getFormattedHtml() function to SamplePageUtils

        return '
        <div
         class="url-content ml-3 tab-pane fade"
         role="tabpanel"
         aria-labelledby="url-tab"
        >' .
            getFormattedHtml($this->html) .
               '</div>
        </div>           
          </div>';
    }
}

Function Calls

None

Variables

None

Stats

MD5 7f69ad748ee934885616a71b1841c4fd
Eval Count 0
Decode Time 113 ms