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;

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0040.01116.88
8.3.50.0120.00619.93
8.3.40.0040.01218.82
8.3.30.0030.01218.58
8.3.20.0050.00220.48
8.3.10.0000.00823.76
8.3.00.0060.00319.91
8.2.180.0070.01118.17
8.2.170.0100.01022.96
8.2.160.0030.01021.15
8.2.150.0080.00024.18
8.2.140.0070.00024.66
8.2.130.0040.00422.26
8.2.120.0040.00426.35
8.2.110.0060.00322.11
8.2.100.0110.00018.34
8.2.90.0000.00819.48
8.2.80.0040.00417.97
8.2.70.0050.00517.63
8.2.60.0100.00517.92
8.2.50.0030.01118.10
8.2.40.0040.00422.36
8.2.30.0050.00219.44
8.2.20.0070.00017.82
8.2.10.0040.00418.24
8.2.00.0000.00918.25
8.1.280.0100.01025.92
8.1.270.0030.00523.97
8.1.260.0050.00328.09
8.1.250.0040.00428.09
8.1.240.0170.00021.09
8.1.230.0070.00417.82
8.1.220.0040.00417.93
8.1.210.0030.00618.77
8.1.200.0100.00017.47
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0040.00418.63
8.1.160.0080.00022.25
8.1.150.0030.00720.98
8.1.140.0030.00519.72
8.1.130.0030.00617.74
8.1.120.0040.00417.61
8.1.110.0040.00417.59
8.1.100.0030.00617.49
8.1.90.0080.00017.55
8.1.80.0040.00417.54
8.1.70.0040.00417.61
8.1.60.0060.00317.72
8.1.50.0030.00617.63
8.1.40.0040.00417.58
8.1.30.0050.00317.72
8.1.20.0050.00317.70
8.1.10.0050.00317.64
8.1.00.0030.00517.51
8.0.300.0060.00318.77
8.0.290.0080.00016.75
8.0.280.0050.00318.53
8.0.270.0060.00617.43
8.0.260.0000.00717.40
8.0.250.0040.00417.14
8.0.240.0000.00817.01
8.0.230.0000.00817.05
8.0.220.0000.00716.98
8.0.210.0000.00717.00
8.0.200.0050.00317.05
8.0.190.0110.00017.07
8.0.180.0000.00716.97
8.0.170.0000.00816.98
8.0.160.0030.00416.99
8.0.150.0040.00416.84
8.0.140.0000.00716.94
8.0.130.0060.00313.46
8.0.120.0040.00416.93
8.0.110.0050.00216.93
8.0.100.0000.00817.09
8.0.90.0050.00216.90
8.0.80.0030.01317.02
8.0.70.0050.00316.80
8.0.60.0040.00416.88
8.0.50.0000.00717.11
8.0.30.0070.01317.24
8.0.20.0130.00817.41
8.0.10.0040.00417.15
8.0.00.0050.01116.77
7.4.330.0050.00015.11
7.4.320.0000.00616.54
7.4.300.0030.00316.71
7.4.290.0060.00316.61
7.4.280.0040.00416.70
7.4.270.0080.00016.54
7.4.260.0000.00716.71
7.4.250.0000.00716.66
7.4.240.0000.00816.57
7.4.230.0070.00016.50
7.4.220.0030.01716.68
7.4.210.0110.01116.76
7.4.200.0000.00716.73
7.4.160.0080.00816.59
7.4.150.0030.01617.40
7.4.140.0080.01217.86
7.4.130.0070.01016.75
7.4.120.0160.00516.61
7.4.110.0070.01016.53
7.4.100.0140.00316.62
7.4.90.0090.00916.82
7.4.80.0060.01019.39
7.4.70.0100.00616.58
7.4.60.0130.01016.63
7.4.50.0090.00616.68
7.4.40.0070.01016.65
7.4.30.0000.01616.41
7.4.10.0000.02116.66
7.4.00.0100.00815.89
7.3.330.0050.00013.20
7.3.320.0030.00313.13
7.3.310.0030.00316.54
7.3.300.0030.00316.43
7.3.290.0060.00916.41
7.3.280.0070.00916.35
7.3.270.0130.00317.40
7.3.260.0070.01116.52
7.3.250.0100.00816.58
7.3.240.0140.00516.53
7.3.230.0030.01416.39
7.3.210.0110.00516.61
7.3.200.0070.01016.50
7.3.190.0060.01216.43
7.3.180.0060.01516.39
7.3.170.0150.00416.52
7.3.160.0100.00716.45
7.3.130.0090.00916.46
7.3.120.0090.00716.57
7.3.110.0000.01616.68
7.3.100.0080.00416.28
7.3.90.0000.01416.25
7.3.80.0070.00716.44
7.3.70.0070.01016.54
7.3.60.0070.01116.39
7.3.50.0070.00716.45
7.3.40.0080.00816.26
7.3.30.0050.00516.56
7.3.20.0030.01018.09
7.3.10.0060.00618.17
7.3.00.0070.00718.04
7.2.330.0110.00616.70
7.2.320.0110.00616.63
7.2.310.0080.00816.48
7.2.300.0070.01016.54
7.2.290.0090.00816.46
7.2.260.0130.00716.41
7.2.250.0100.01016.61
7.2.240.0000.01716.39
7.2.230.0070.00316.78
7.2.220.0030.01516.67
7.2.210.0040.00816.56
7.2.200.0110.00316.42
7.2.190.0040.01516.65
7.2.180.0100.00616.75
7.2.170.0070.01016.64
7.2.160.0080.00716.43
7.2.150.0030.01018.16
7.2.140.0120.00318.25
7.2.130.0100.00018.36
7.2.120.0070.00718.48
7.2.110.0100.00618.50
7.2.100.0070.00718.36
7.2.90.0120.00318.15
7.2.80.0040.00718.50
7.2.70.0060.00618.39
7.2.60.0060.01218.43
7.2.50.0080.00418.42
7.2.40.0070.01118.40
7.2.30.0090.00318.39
7.2.20.0100.00718.17
7.2.10.0150.00318.32
7.2.00.0050.01318.82
7.1.330.0090.00917.44
7.1.320.0070.01117.20
7.1.310.0060.01017.36
7.1.300.0030.00717.34
7.1.290.0100.00317.50
7.1.280.0070.00717.40
7.1.270.0130.00017.43
7.1.260.0070.00717.23
7.1.250.0110.00417.21
7.1.240.0000.01417.28
7.1.230.0040.00817.21
7.1.220.0090.00617.32
7.1.210.0030.00617.24
7.1.200.0070.01017.32
7.1.190.0120.00617.39
7.1.180.0060.00317.22
7.1.170.0060.01017.40
7.1.160.0060.00917.34
7.1.150.0080.00817.36
7.1.140.0060.00617.33
7.1.130.0030.01417.25
7.1.120.0100.00717.20
7.1.110.0000.01317.48
7.1.100.0030.00917.21
7.1.90.0070.01017.24
7.1.80.0070.00717.36
7.1.70.0060.00817.20
7.1.60.0080.00818.49
7.1.50.0040.00817.27
7.1.40.0060.00617.31
7.1.30.0030.00717.29
7.1.20.0070.00717.34
7.1.10.0040.01117.27
7.1.00.0050.04119.80
7.0.330.0030.01317.11
7.0.320.0060.00617.17
7.0.310.0060.00917.15
7.0.300.0110.00716.94
7.0.290.0040.01116.96
7.0.280.0070.00716.96
7.0.270.0060.00616.92
7.0.260.0090.00916.96
7.0.250.0120.00617.03
7.0.240.0070.00717.09
7.0.230.0070.00717.12
7.0.220.0110.00316.92
7.0.210.0100.00717.12
7.0.200.0200.00815.88
7.0.190.0110.00417.00
7.0.180.0060.01016.97
7.0.170.0060.00916.90
7.0.160.0030.00917.09
7.0.150.0040.01117.01
7.0.140.0030.00717.03
7.0.130.0100.00316.91
7.0.120.0090.00317.02
7.0.110.0030.01016.86
7.0.100.0100.04318.50
7.0.90.0150.04318.56
7.0.80.0050.04618.60
7.0.70.0090.03618.52
7.0.60.0070.04418.57
7.0.50.0070.04218.62
7.0.40.0030.05017.46
7.0.30.0080.04417.50
7.0.20.0050.04717.52
7.0.10.0060.02917.53
7.0.00.0100.04517.49
5.6.400.0110.00416.09
5.6.390.0030.00916.05
5.6.380.0070.00315.96
5.6.370.0090.00615.91
5.6.360.0030.01016.03
5.6.350.0040.01115.99
5.6.340.0080.00815.79
5.6.330.0000.01515.73
5.6.320.0090.00915.89
5.6.310.0030.00815.62
5.6.300.0000.01015.91
5.6.290.0070.00415.78
5.6.280.0100.00715.69
5.6.270.0060.00915.83
5.6.260.0060.00915.74
5.6.250.0160.04018.36
5.6.240.0080.04618.46
5.6.230.0100.02518.28
5.6.220.0150.03718.25
5.6.210.0140.04018.40
5.6.200.0090.04018.53
5.6.190.0070.03018.48
5.6.180.0060.03418.47
5.6.170.0050.04718.62
5.6.160.0070.04118.54
5.6.150.0080.04318.53
5.6.140.0030.04518.49
5.6.130.0050.05118.68
5.6.120.0050.03018.52
5.6.110.0020.03218.63
5.6.100.0100.03718.50
5.6.90.0090.04718.40
5.6.80.0060.03118.11
5.6.70.0100.03718.17
5.6.60.0090.04118.28
5.6.50.0080.02318.11
5.6.40.0130.04218.25
5.6.30.0120.02218.17
5.6.20.0080.04218.30
5.6.10.0030.03618.13
5.6.00.0090.04218.24

preferences:
62.78 ms | 401 KiB | 5 Q