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;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XKVLF
function name:  (null)
number of ops:  20
compiled vars:  !0 = $compressData, !1 = $hashcodeData
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'base64_encode'
          1        INIT_FCALL                                               'gzencode'
    4     2        SEND_VAL                                                 '%7B%0A++%22PURCHASE+ORDER%22%3A+%5B%0A++++%7B%0A++++++%22id%22%3A+%7B%0A++++++++%22siteId%22%3A+%22%22%2C%0A++++++++%22sys%22%3A+0%0A++++++%7D%2C%0A++++++%22periodId%22%3A+0%2C%0A++++++%22entityId%22%3A+%220%22%2C%0A++++++%22xrperiod%22%3A+0%2C%0A++++++%22trNo%22%3A+%22%22%2C%0A++++++%22trManualRef%22%3A+%22111PO4%22%2C%0A++++++%22trManualRef2%22%3A+%22%22%2C%0A++++++%22trDate%22%3A+%222016-03-03%22%2C%0A++++++%22trTime%22%3A+%2215%3A53%3A00%22%2C%0A++++++%22trType%22%3A+%22111PO%22%2C%0A++++++%22transCode%22%3A+0%2C%0A++++++%22expectedDlv%22%3A+%22%22%2C%0A++++++%22expectedArv%22%3A+%22%22%2C%0A++++++%22topId%22%3A+%22%22%2C%0A++++++%22topDays%22%3A+0%2C%0A++++++%22taxCalc%22%3A+%22I%22%2C%0A++++++%22dlvMtdId%22%3A+%22%22%2C%0A++++++%22headerNote%22%3A+%22%22%2C%0A++++++%22footerNote%22%3A+%22%22%2C%0A++++++%22entryTime%22%3A+%22%22%2C%0A++++++%22addedBy%22%3A+%22%22%2C%0A++++++%22changedBy%22%3A+%22%22%2C%0A++++++%22approved%22%3A+0%2C%0A++++++%22currencyId%22%3A+%22%22%2C%0A++++++%22suppId%22%3A+%22PT.00007%22%2C%0A++++++%22ps%22%3A+%22P%22%2C%0A++++++%22priceId%22%3A+%22%22%2C%0A++++++%22discPct%22%3A+0%2C%0A++++++%22discPct_1%22%3A+0%2C%0A++++++%22discPct2%22%3A+0%2C%0A++++++%22discPct3%22%3A+0%2C%0A++++++%22discPct4%22%3A+0%2C%0A++++++%22discPct5%22%3A+0%2C%0A++++++%22discAmt%22%3A+0%2C%0A++++++%22projectId%22%3A+%22%22%2C%0A++++++%22printed%22%3A+0%2C%0A++++++%22void_%22%3A+0%2C%0A++++++%22invDiscChanged%22%3A+0%2C%0A++++++%22netAmt%22%3A+9700000%2C%0A++++++%22controlTotal%22%3A+200%2C%0A++++++%22suppShipTo%22%3A+%22%22%2C%0A++++++%22closeSq%22%3A+0%2C%0A++++++%22barcode%22%3A+%22%22%2C%0A++++++%22budgetException%22%3A+0%2C%0A++++++%22sendEmail%22%3A+0%2C%0A++++++%22lastModified%22%3A+%22%22%2C%0A++++++%22discAmt2%22%3A+0%2C%0A++++++%22calcMixItemBonus%22%3A+0%0A++++%7D%2C%0A++++%5B%0A++++++%7B%0A++++++++%22id%22%3A+%7B%0A++++++++++%22siteId%22%3A+%22%22%2C%0A++++++++++%22sys%22%3A+0%2C%0A++++++++++%22lineNo%22%3A+0%0A++++++++%7D%2C%0A++++++++%22transCode%22%3A+0%2C%0A++++++++%22itemId%22%3A+%221111100001%22%2C%0A++++++++%22periodId%22%3A+0%2C%0A++++++++%22locationId%22%3A+%22%22%2C%0A++++++++%22locationId2%22%3A+%22%22%2C%0A++++++++%22qt%22%3A+100%2C%0A++++++++%22unitId%22%3A+%22PCS%22%2C%0A++++++++%22qty%22%3A+0%2C%0A++++++++%22qty2%22%3A+0%2C%0A++++++++%22description%22%3A+%22KRIPIK+NANGKA%22%2C%0A++++++++%22remarks%22%3A+%22%22%2C%0A++++++++%22length%22%3A+0%2C%0A++++++++%22width%22%3A+0%2C%0A++++++++%22height%22%3A+0%2C%0A++++++++%22diameter%22%3A+0%2C%0A++++++++%22unitPrice%22%3A+1000%2C%0A++++++++%22discPct%22%3A+0%2C%0A++++++++%22grossAmt%22%3A+100000%2C%0A++++++++%22discAmt%22%3A+0%2C%0A++++++++%22taxable%22%3A+90909.09%2C%0A++++++++%22taxAmt%22%3A+9090.91%2C%0A++++++++%22rounding%22%3A+0%2C%0A++++++++%22netAmt%22%3A+100000%2C%0A++++++++%22linkLineNo%22%3A+0%2C%0A++++++++%22discPct2%22%3A+0%2C%0A++++++++%22discPct3%22%3A+0%2C%0A++++++++%22discPct4%22%3A+0%2C%0A++++++++%22discPct5%22%3A+0%2C%0A++++++++%22discPct_1%22%3A+1%2C%0A++++++++%22wo%22%3A+0%2C%0A++++++++%22invDiscAmt%22%3A+0%2C%0A++++++++%22lineType%22%3A+%22N%22%2C%0A++++++++%22string1%22%3A+%22%22%2C%0A++++++++%22numeric1%22%3A+0%2C%0A++++++++%22prunitPrice%22%3A+0%2C%0A++++++++%22po%22%3A+0%2C%0A++++++++%22giftLineNo%22%3A+0%2C%0A++++++++%22bonus%22%3A+0%2C%0A++++++++%22string2%22%3A+%22%22%2C%0A++++++++%22string3%22%3A+%22%22%2C%0A++++++++%22string4%22%3A+%22%22%2C%0A++++++++%22changedBy%22%3A+%22%22%2C%0A++++++++%22lastModified%22%3A+%22%22%2C%0A++++++++%22invDiscAmt2%22%3A+0%2C%0A++++++++%22processCalcDtl%22%3A+0%0A++++++%7D%2C%0A++++++%7B%0A++++++++%22id%22%3A+%7B%0A++++++++++%22siteId%22%3A+%22%22%2C%0A++++++++++%22sys%22%3A+0%2C%0A++++++++++%22lineNo%22%3A+0%0A++++++++%7D%2C%0A++++++++%22transCode%22%3A+0%2C%0A++++++++%22itemId%22%3A+%22111S001%22%2C%0A++++++++%22periodId%22%3A+0%2C%0A++++++++%22locationId%22%3A+%22%22%2C%0A++++++++%22locationId2%22%3A+%22%22%2C%0A++++++++%22qt%22%3A+100%2C%0A++++++++%22unitId%22%3A+%22KRT%22%2C%0A++++++++%22qty%22%3A+0%2C%0A++++++++%22qty2%22%3A+0%2C%0A++++++++%22description%22%3A+%22KRIPIK+PISANG+KEJU%22%2C%0A++++++++%22remarks%22%3A+%22%22%2C%0A++++++++%22length%22%3A+0%2C%0A++++++++%22width%22%3A+0%2C%0A++++++++%22height%22%3A+0%2C%0A++++++++%22diameter%22%3A+0%2C%0A++++++++%22unitPrice%22%3A+96000%2C%0A++++++++%22discPct%22%3A+0%2C%0A++++++++%22grossAmt%22%3A+9600000%2C%0A++++++++%22discAmt%22%3A+0%2C%0A++++++++%22taxable%22%3A+8727272.73%2C%0A++++++++%22taxAmt%22%3A+872727.27%2C%0A++++++++%22rounding%22%3A+0%2C%0A++++++++%22netAmt%22%3A+9600000%2C%0A++++++++%22linkLineNo%22%3A+0%2C%0A++++++++%22discPct2%22%3A+0%2C%0A++++++++%22discPct3%22%3A+0%2C%0A++++++++%22discPct4%22%3A+0%2C%0A++++++++%22discPct5%22%3A+0%2C%0A++++++++%22discPct_1%22%3A+1%2C%0A++++++++%22wo%22%3A+0%2C%0A++++++++%22invDiscAmt%22%3A+0%2C%0A++++++++%22lineType%22%3A+%22N%22%2C%0A++++++++%22string1%22%3A+%22%22%2C%0A++++++++%22numeric1%22%3A+0%2C%0A++++++++%22prunitPrice%22%3A+0%2C%0A++++++++%22po%22%3A+0%2C%0A++++++++%22giftLineNo%22%3A+0%2C%0A++++++++%22bonus%22%3A+0%2C%0A++++++++%22string2%22%3A+%22%22%2C%0A++++++++%22string3%22%3A+%22%22%2C%0A++++++++%22string4%22%3A+%22%22%2C%0A++++++++%22changedBy%22%3A+%22%22%2C%0A++++++++%22lastModified%22%3A+%22%22%2C%0A++++++++%22invDiscAmt2%22%3A+0%2C%0A++++++++%22processCalcDtl%22%3A+0%0A++++++%7D%0A++++%5D%0A++%5D%0A%7D'
          3        DO_ICALL                                         $2      
          4        SEND_VAR                                                 $2
          5        DO_ICALL                                         $3      
    3     6        ASSIGN                                                   !0, $3
  168     7        ECHO                                                     'DATA+SETELAH+DI+COMPRESS+%3D+'
          8        ECHO                                                     !0
  170     9        INIT_FCALL                                               'nl2br'
         10        SEND_VAL                                                 '%0A'
         11        DO_ICALL                                         $5      
         12        ECHO                                                     $5
  172    13        INIT_FCALL                                               'sha1'
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                         $6      
         16        ASSIGN                                                   !1, $6
  174    17        ECHO                                                     'HASHCODE+DATA+%3D+'
         18        ECHO                                                     !1
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.12 ms | 1400 KiB | 21 Q