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 declare(strict_types=1); namespace TestApp\Command; use Cake\Command\Command; use ..
Decoded Output download
<?php
declare(strict_types=1);
namespace TestApp\Command;
use Cake\Command\Command;
use Cake\Console\Arguments;
use Cake\Console\ConsoleIo;
class BridgeCommand extends Command
{
public function execute(Arguments $args, ConsoleIo $io)
{
$name = $io->ask('What is your name');
if ($name !== 'cake') {
$io->err('No!');
return static::CODE_ERROR;
}
$color = $io->ask('What is your favorite color?');
if ($color !== 'blue') {
$io->err('Wrong! <blink>Aaaahh</blink>');
return static::CODE_ERROR;
}
$io->out('You may pass.');
}
}
?>
Did this file decode correctly?
Original Code
<?php
declare(strict_types=1);
namespace TestApp\Command;
use Cake\Command\Command;
use Cake\Console\Arguments;
use Cake\Console\ConsoleIo;
class BridgeCommand extends Command
{
public function execute(Arguments $args, ConsoleIo $io)
{
$name = $io->ask('What is your name');
if ($name !== 'cake') {
$io->err('No!');
return static::CODE_ERROR;
}
$color = $io->ask('What is your favorite color?');
if ($color !== 'blue') {
$io->err('Wrong! <blink>Aaaahh</blink>');
return static::CODE_ERROR;
}
$io->out('You may pass.');
}
}
Function Calls
None |
Stats
MD5 | 223da3b775a251f33e9104b70cccc070 |
Eval Count | 0 |
Decode Time | 105 ms |