3v4l.org

run code in 300+ PHP versions simultaneously
<?php $compressData = base64_encode(gzencode ('{ "PURCHASE ORDER": [ { "id": { "siteId": "", "sys": 0 }, "periodId": 0, "entityId": "0", "xrperiod": 0, "trNo": "", "trManualRef": "111PO4", "trManualRef2": "", "trDate": "2016-03-03", "trTime": "15:53:00", "trType": "111PO", "transCode": 0, "expectedDlv": "", "expectedArv": "", "topId": "", "topDays": 0, "taxCalc": "I", "dlvMtdId": "", "headerNote": "", "footerNote": "", "entryTime": "", "addedBy": "", "changedBy": "", "approved": 0, "currencyId": "", "suppId": "PT.00007", "ps": "P", "priceId": "", "discPct": 0, "discPct_1": 0, "discPct2": 0, "discPct3": 0, "discPct4": 0, "discPct5": 0, "discAmt": 0, "projectId": "", "printed": 0, "void_": 0, "invDiscChanged": 0, "netAmt": 9700000, "controlTotal": 200, "suppShipTo": "", "closeSq": 0, "barcode": "", "budgetException": 0, "sendEmail": 0, "lastModified": "", "discAmt2": 0, "calcMixItemBonus": 0 }, [ { "id": { "siteId": "", "sys": 0, "lineNo": 0 }, "transCode": 0, "itemId": "1111100001", "periodId": 0, "locationId": "", "locationId2": "", "qt": 100, "unitId": "PCS", "qty": 0, "qty2": 0, "description": "KRIPIK NANGKA", "remarks": "", "length": 0, "width": 0, "height": 0, "diameter": 0, "unitPrice": 1000, "discPct": 0, "grossAmt": 100000, "discAmt": 0, "taxable": 90909.09, "taxAmt": 9090.91, "rounding": 0, "netAmt": 100000, "linkLineNo": 0, "discPct2": 0, "discPct3": 0, "discPct4": 0, "discPct5": 0, "discPct_1": 1, "wo": 0, "invDiscAmt": 0, "lineType": "N", "string1": "", "numeric1": 0, "prunitPrice": 0, "po": 0, "giftLineNo": 0, "bonus": 0, "string2": "", "string3": "", "string4": "", "changedBy": "", "lastModified": "", "invDiscAmt2": 0, "processCalcDtl": 0 }, { "id": { "siteId": "", "sys": 0, "lineNo": 0 }, "transCode": 0, "itemId": "111S001", "periodId": 0, "locationId": "", "locationId2": "", "qt": 100, "unitId": "KRT", "qty": 0, "qty2": 0, "description": "KRIPIK PISANG KEJU", "remarks": "", "length": 0, "width": 0, "height": 0, "diameter": 0, "unitPrice": 96000, "discPct": 0, "grossAmt": 9600000, "discAmt": 0, "taxable": 8727272.73, "taxAmt": 872727.27, "rounding": 0, "netAmt": 9600000, "linkLineNo": 0, "discPct2": 0, "discPct3": 0, "discPct4": 0, "discPct5": 0, "discPct_1": 1, "wo": 0, "invDiscAmt": 0, "lineType": "N", "string1": "", "numeric1": 0, "prunitPrice": 0, "po": 0, "giftLineNo": 0, "bonus": 0, "string2": "", "string3": "", "string4": "", "changedBy": "", "lastModified": "", "invDiscAmt2": 0, "processCalcDtl": 0 } ] ] }')); echo "DATA SETELAH DI COMPRESS = ", $compressData; echo nl2br("\n"); $hashcodeData = sha1($compressData); echo "HASHCODE DATA = ", $hashcodeData;

preferences:
24.25 ms | 402 KiB | 5 Q