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 /** * Subscribe test * * @author Iris Xie * @create 2017-06-01 */ require __DIR..
Decoded Output download
<?php
/**
* Subscribe test
*
* @author Iris Xie
* @create 2017-06-01
*/
require __DIR__ . '/../autoload.php';
$lookup = new Iris\NsqToSwoole\Lookup\Lookupd([
['host' => '139.196.205.19', 'port' => 4161],
]);
$client = new Iris\NsqToSwoole\Client;
$client->sub($lookup, 'examples', 'example', function($moniter, $msg) {
echo sprintf("READ\t%s\t%s\n", $msg->getId(), $msg->getPayload());
});
?>
Did this file decode correctly?
Original Code
<?php
/**
* Subscribe test
*
* @author Iris Xie
* @create 2017-06-01
*/
require __DIR__ . '/../autoload.php';
$lookup = new Iris\NsqToSwoole\Lookup\Lookupd([
['host' => '139.196.205.19', 'port' => 4161],
]);
$client = new Iris\NsqToSwoole\Client;
$client->sub($lookup, 'examples', 'example', function($moniter, $msg) {
echo sprintf("READ\t%s\t%s\n", $msg->getId(), $msg->getPayload());
});
Function Calls
None |
Stats
MD5 | d2b5efe8c114323808a17f1bd721908c |
Eval Count | 0 |
Decode Time | 105 ms |