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); /** * This file is part of Swoft. * * @link https://..
Decoded Output download
<?php declare(strict_types=1);
/**
* This file is part of Swoft.
*
* @link https://swoft.org
* @document https://swoft.org/docs
* @contact [email protected]
* @license https://github.com/swoft-cloud/swoft/blob/master/LICENSE
*/
namespace App\Listener\Test;
use Swoft\Event\Annotation\Mapping\Listener;
use Swoft\Event\EventHandlerInterface;
use Swoft\Event\EventInterface;
use Swoft\Log\Helper\CLog;
use Swoft\Server\ServerEvent;
/**
* Class TaskProcessListener
*
* @since 2.0
*
* @Listener(ServerEvent::TASK_PROCESS_START)
*/
class TaskProcessListener implements EventHandlerInterface
{
/**
* @param EventInterface $event
*/
public function handle(EventInterface $event): void
{
CLog::debug('Task worker start');
}
}
?>
Did this file decode correctly?
Original Code
<?php declare(strict_types=1);
/**
* This file is part of Swoft.
*
* @link https://swoft.org
* @document https://swoft.org/docs
* @contact [email protected]
* @license https://github.com/swoft-cloud/swoft/blob/master/LICENSE
*/
namespace App\Listener\Test;
use Swoft\Event\Annotation\Mapping\Listener;
use Swoft\Event\EventHandlerInterface;
use Swoft\Event\EventInterface;
use Swoft\Log\Helper\CLog;
use Swoft\Server\ServerEvent;
/**
* Class TaskProcessListener
*
* @since 2.0
*
* @Listener(ServerEvent::TASK_PROCESS_START)
*/
class TaskProcessListener implements EventHandlerInterface
{
/**
* @param EventInterface $event
*/
public function handle(EventInterface $event): void
{
CLog::debug('Task worker start');
}
}
Function Calls
None |
Stats
MD5 | 3ee3945a9e3059f396587fa650686ef0 |
Eval Count | 0 |
Decode Time | 100 ms |