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 Rx.PHP. * * (c) Alexander <[email protected]> * * ..
Decoded Output download
<?php
/*
* This file is part of Rx.PHP.
*
* (c) Alexander <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
if (file_exists($file = __DIR__.'/../vendor/autoload.php')) {
$autoload = require_once $file;
} else {
throw new RuntimeException('Install dependencies to run test suite.');
}
$createStdoutObserver = function ($prefix = '') {
return new Rx\Observer\CallbackObserver(
function ($value) use ($prefix) { echo $prefix . "Next value: " . $value . "
"; },
function ($error) use ($prefix) { echo $prefix . "Exception: " . $error->getMessage() . "
"; },
function () use ($prefix) { echo $prefix . "Complete!
"; }
);
};
$stdoutObserver = $createStdoutObserver();
?>
Did this file decode correctly?
Original Code
<?php
/*
* This file is part of Rx.PHP.
*
* (c) Alexander <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
if (file_exists($file = __DIR__.'/../vendor/autoload.php')) {
$autoload = require_once $file;
} else {
throw new RuntimeException('Install dependencies to run test suite.');
}
$createStdoutObserver = function ($prefix = '') {
return new Rx\Observer\CallbackObserver(
function ($value) use ($prefix) { echo $prefix . "Next value: " . $value . "\n"; },
function ($error) use ($prefix) { echo $prefix . "Exception: " . $error->getMessage() . "\n"; },
function () use ($prefix) { echo $prefix . "Complete!\n"; }
);
};
$stdoutObserver = $createStdoutObserver();
Function Calls
None |
Stats
MD5 | af8b81744ae400928650d6ac02258d96 |
Eval Count | 0 |
Decode Time | 94 ms |