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 /** * Copyright Magento, Inc. All rights reserved. * See COPYING.txt for license ..
Decoded Output download
<?php
/**
* Copyright Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Catalog\Controller\Index;
use Magento\Framework\App\Action\HttpGetActionInterface;
/**
* Catalog index page controller.
*/
class Index extends \Magento\Framework\App\Action\Action implements HttpGetActionInterface
{
/**
* Index action
*
* @return \Magento\Framework\Controller\Result\Redirect
*/
public function execute()
{
$resultRedirect = $this->resultRedirectFactory->create();
return $resultRedirect->setPath('/');
}
}
?>
Did this file decode correctly?
Original Code
<?php
/**
* Copyright Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Catalog\Controller\Index;
use Magento\Framework\App\Action\HttpGetActionInterface;
/**
* Catalog index page controller.
*/
class Index extends \Magento\Framework\App\Action\Action implements HttpGetActionInterface
{
/**
* Index action
*
* @return \Magento\Framework\Controller\Result\Redirect
*/
public function execute()
{
$resultRedirect = $this->resultRedirectFactory->create();
return $resultRedirect->setPath('/');
}
}
Function Calls
None |
Stats
MD5 | 10220428450f1bfbeb0e112b2b11d929 |
Eval Count | 0 |
Decode Time | 82 ms |