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 Zephir. * * (c) Phalcon Team <[email protected]..
Decoded Output download
<?php
/**
* This file is part of the Zephir.
*
* (c) Phalcon Team <[email protected]>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Zephir\Statements;
use Zephir\CompilationContext;
use Zephir\Exception\CompilerException;
use Zephir\Expression;
/**
* RequireStatement.
*
* Require statement is used to execute PHP scripts in a given path
*/
class RequireStatement extends StatementAbstract
{
protected string $methodName = 'require';
/**
* @param CompilationContext $compilationContext
*
* @throws CompilerException
*/
public function compile(CompilationContext $compilationContext): void
{
$expression = [
'type' => $this->methodName,
'left' => $this->statement['expr'],
'file' => $this->statement['file'],
'line' => $this->statement['line'],
'char' => $this->statement['char'],
];
$expr = new Expression($expression);
$expr->setExpectReturn(false);
$expr->compile($compilationContext);
}
}
?>
Did this file decode correctly?
Original Code
<?php
/**
* This file is part of the Zephir.
*
* (c) Phalcon Team <[email protected]>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Zephir\Statements;
use Zephir\CompilationContext;
use Zephir\Exception\CompilerException;
use Zephir\Expression;
/**
* RequireStatement.
*
* Require statement is used to execute PHP scripts in a given path
*/
class RequireStatement extends StatementAbstract
{
protected string $methodName = 'require';
/**
* @param CompilationContext $compilationContext
*
* @throws CompilerException
*/
public function compile(CompilationContext $compilationContext): void
{
$expression = [
'type' => $this->methodName,
'left' => $this->statement['expr'],
'file' => $this->statement['file'],
'line' => $this->statement['line'],
'char' => $this->statement['char'],
];
$expr = new Expression($expression);
$expr->setExpectReturn(false);
$expr->compile($compilationContext);
}
}
Function Calls
None |
Stats
MD5 | 903dbf07cce8056a831e6987c4be9a9a |
Eval Count | 0 |
Decode Time | 100 ms |