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 namespace Phug\Parser\TokenHandler; use Phug\Lexer\Token\AttributeEndToken; use Ph..
Decoded Output download
<?php
namespace Phug\Parser\TokenHandler;
use Phug\Lexer\Token\AttributeEndToken;
use Phug\Lexer\TokenInterface;
use Phug\Parser\State;
use Phug\Parser\TokenHandlerInterface;
class AttributeEndTokenHandler implements TokenHandlerInterface
{
public function handleToken(TokenInterface $token, State $state)
{
if (!($token instanceof AttributeEndToken)) {
throw new \RuntimeException(
'You can only pass attribute end tokens to this token handler'
);
}
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Phug\Parser\TokenHandler;
use Phug\Lexer\Token\AttributeEndToken;
use Phug\Lexer\TokenInterface;
use Phug\Parser\State;
use Phug\Parser\TokenHandlerInterface;
class AttributeEndTokenHandler implements TokenHandlerInterface
{
public function handleToken(TokenInterface $token, State $state)
{
if (!($token instanceof AttributeEndToken)) {
throw new \RuntimeException(
'You can only pass attribute end tokens to this token handler'
);
}
}
}
Function Calls
None |
Stats
MD5 | 68bccc2bbac0f1dfbaea7ebde55c7bc6 |
Eval Count | 0 |
Decode Time | 79 ms |