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 // +---------------------------------------------------------------------- // | WeC..
Decoded Output download
<?php
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
// | 2014~2024 ThinkAdmin [ thinkadmin.top ]
// +----------------------------------------------------------------------
// | : https://thinkadmin.top
// +----------------------------------------------------------------------
// | ( https://mit-license.org )
// | ( https://thinkadmin.top/disclaimer )
// +----------------------------------------------------------------------
// | gitee https://gitee.com/zoujingli/WeChatDeveloper
// | github https://github.com/zoujingli/WeChatDeveloper
// +----------------------------------------------------------------------
try {
// 1.
include "../include.php";
// 2.
$config = include "./pay-v3-config.php";
$pay = \WePayV3\Transfers::instance($config);
$result = $pay->batchs([
'out_batch_no' => 'plfk2020042013',
'batch_name' => '20191',
'batch_remark' => '20191',
'total_amount' => 100,
'transfer_detail_list' => [
[
'out_detail_no' => 'x23zy545Bd5436',
'transfer_amount' => 100,
'transfer_remark' => '20204',
'openid' => 'o-MYE42l80oelYMDE34nYD456Xoy',
'user_name' => ''
]
]
]);
echo "
--- ---
";
var_export($result);
} catch (\Exception $exception) {
//
echo $exception->getMessage() . PHP_EOL;
} ?>
Did this file decode correctly?
Original Code
<?php
// +----------------------------------------------------------------------
// | WeChatDeveloper
// +----------------------------------------------------------------------
// | 2014~2024 ThinkAdmin [ thinkadmin.top ]
// +----------------------------------------------------------------------
// | : https://thinkadmin.top
// +----------------------------------------------------------------------
// | ( https://mit-license.org )
// | ( https://thinkadmin.top/disclaimer )
// +----------------------------------------------------------------------
// | gitee https://gitee.com/zoujingli/WeChatDeveloper
// | github https://github.com/zoujingli/WeChatDeveloper
// +----------------------------------------------------------------------
try {
// 1.
include "../include.php";
// 2.
$config = include "./pay-v3-config.php";
$pay = \WePayV3\Transfers::instance($config);
$result = $pay->batchs([
'out_batch_no' => 'plfk2020042013',
'batch_name' => '20191',
'batch_remark' => '20191',
'total_amount' => 100,
'transfer_detail_list' => [
[
'out_detail_no' => 'x23zy545Bd5436',
'transfer_amount' => 100,
'transfer_remark' => '20204',
'openid' => 'o-MYE42l80oelYMDE34nYD456Xoy',
'user_name' => ''
]
]
]);
echo "\n--- ---\n";
var_export($result);
} catch (\Exception $exception) {
//
echo $exception->getMessage() . PHP_EOL;
}
Function Calls
None |
Stats
MD5 | 442a832ee4a43a004de0b669ee42013a |
Eval Count | 0 |
Decode Time | 122 ms |