Created
September 28, 2017 08:05
-
-
Save zukilover/1782f90559d2923f14aae8e4bd0b7b6e to your computer and use it in GitHub Desktop.
PHP Generator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$obj = array(); | |
for($i = 1; $i <= 20; $i++){ | |
$item = (object) array( | |
"amount" => "10000", | |
"id" => $i . "9ba3d1c0-72b3-4ffb-a738-e80d78c0b290", | |
"detailStatus" => "Complete", | |
"chargeInstruction" => "REM", | |
"beneBankName" => "PT. Bank Mandiri Tbk.", | |
"creditAcctNo" => "1153331290464", | |
"beneBankCode" => "009", | |
"debitAcctName" => "DARYANDONO SIT", | |
"currencyCode" => "IDR", | |
"productCode" => "PC_PR_IH_THRD_PRTY", | |
"identicalStatus" => "N", | |
"debitAcctNo" => "1380011819039", | |
"instructionMode" => "1", | |
"lineNo" => 3, | |
"isCitizen" => "N", | |
"detailType" => "D", | |
"extendedDetails" => "ExtPaymentDetail", | |
"beneEmail" => "[email protected]", | |
"isResident" => "N", | |
"isSubmit" => "N", | |
"productName" => "Inhouse Transfer" | |
); | |
array_push($obj, $item); | |
} | |
print_r(json_encode($obj)); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment