3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = <<<EOT {"Store":"GooglePlay","TransactionID":"GPA.3342-9814-8366-27273","Payload":"{\"json\":\"{\\\"orderId\\\":\\\"GPA.3342-9814-8366-27273\\\",\\\"packageName\\\":\\\"com.blayzegames.iosfps\\\",\\\"productId\\\":\\\"com.blayzegames.iosfps.goldtierone\\\",\\\"purchaseTime\\\":1606718938106,\\\"purchaseState\\\":0,\\\"developerPayload\\\":\\\"{\\\\\\\"developerPayload\\\\\\\":\\\\\\\"\\\\\\\",\\\\\\\"is_free_trial\\\\\\\":false,\\\\\\\"has_introductory_price_trial\\\\\\\":false,\\\\\\\"is_updated\\\\\\\":false,\\\\\\\"accountId\\\\\\\":\\\\\\\"\\\\\\\"}\\\",\\\"purchaseToken\\\":\\\"PURCHASE_TOKEN\",\"skuDetails\":\"{\\\"productId\\\":\\\"com.blayzegames.iosfps.goldtierone\\\",\\\"type\\\":\\\"inapp\\\",\\\"price\\\":\\\"₹260.00\\\",\\\"price_amount_micros\\\":260000000,\\\"price_currency_code\\\":\\\"INR\\\",\\\"title\\\":\\\"500 Gold (Bullet Force)\\\",\\\"description\\\":\\\"500 in-game Gold to be used for buying other in-game things\\\",\\\"skuDetailsToken\\\":\\\"SKU\\\"}\",\"isPurchaseHistorySupported\":true}"} EOT; var_dump(json_decode($json), json_last_error_msg());

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.0030.01318.30
8.3.50.0060.00916.47
8.3.40.0000.02121.73
8.3.30.0030.01018.67
8.3.20.0040.00424.18
8.3.10.0000.00824.66
8.3.00.0040.00426.16
8.2.180.0070.00725.92
8.2.170.0150.00418.96
8.2.160.0070.01022.96
8.2.150.0070.00025.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00426.35
8.2.110.0030.00621.07
8.2.100.0070.00317.84
8.2.90.0000.00819.05
8.2.80.0080.00017.97
8.2.70.0040.00417.50
8.2.60.0040.00417.91
8.2.50.0040.00418.05
8.2.40.0040.00417.97
8.2.30.0000.00818.06
8.2.20.0080.00017.85
8.2.10.0040.00419.11
8.2.00.0000.00819.05
8.1.280.0100.00725.92
8.1.270.0080.00022.08
8.1.260.0030.00528.09
8.1.250.0030.00528.09
8.1.240.0060.00323.92
8.1.230.0120.00019.17
8.1.220.0050.00317.74
8.1.210.0090.00018.77
8.1.200.0040.00817.35
8.1.190.0040.00417.22
8.1.180.0030.00618.10
8.1.170.0000.00818.50
8.1.160.0030.00618.95
8.1.150.0000.00818.73
8.1.140.0000.00718.89
8.1.130.0040.00420.03
8.1.120.0040.00417.42
8.1.110.0080.00017.29
8.1.100.0040.00417.38
8.1.90.0030.00317.30
8.1.80.0030.00617.39
8.1.70.0030.00317.29
8.1.60.0000.00817.41
8.1.50.0070.00017.46
8.1.40.0040.00417.34
8.1.30.0000.00817.56
8.1.20.0040.00417.60
8.1.10.0040.00417.48
8.1.00.0070.00317.41
8.0.300.0040.00418.77
8.0.290.0060.00316.75
8.0.280.0000.00718.30
8.0.270.0000.00717.93
8.0.260.0000.00718.62
8.0.250.0030.00316.93
8.0.240.0040.00416.88
8.0.230.0030.00316.88
8.0.220.0000.00616.91
8.0.210.0020.00516.88
8.0.200.0090.00016.84
8.0.190.0000.00816.99
8.0.180.0000.00816.96
8.0.170.0090.00016.92
8.0.160.0000.00716.87
8.0.150.0040.00416.69
8.0.140.0040.00416.73
8.0.130.0000.00513.31
8.0.120.0030.00516.68
8.0.110.0040.00416.90
8.0.100.0040.00416.89
8.0.90.0000.00716.91
8.0.80.0120.00316.91
8.0.70.0070.00016.74
8.0.60.0000.00716.89
8.0.50.0000.00716.82
8.0.30.0130.00617.07
8.0.20.0140.00517.04
8.0.10.0000.00816.83
8.0.00.0090.01216.62
7.4.330.0060.00015.55
7.4.320.0000.00616.34
7.4.300.0000.00616.43
7.4.290.0050.00216.35
7.4.280.0000.00816.52
7.4.270.0070.00016.43
7.4.260.0030.00313.22
7.4.250.0000.00716.50
7.4.240.0070.00016.53
7.4.230.0030.00316.54
7.4.220.0030.00316.43
7.4.210.0100.00816.50
7.4.200.0040.00416.34
7.4.130.0180.00316.30
7.4.120.0070.01116.29
7.4.110.0180.00316.20
7.4.100.0120.01016.29
7.4.90.0160.00616.29
7.4.80.0120.00716.24
7.4.70.0110.00716.42
7.4.60.0040.01316.47
7.4.50.0080.01216.29
7.4.40.0070.01416.13
7.4.30.0120.00816.49
7.4.20.0070.01516.35
7.4.10.0120.00916.51
7.4.00.0110.01116.30
7.3.330.0040.00416.28
7.3.320.0060.00013.06
7.3.310.0090.00016.02
7.3.300.0030.00316.24
7.3.290.0100.00816.19
7.3.260.0090.00916.24
7.3.250.0110.01016.17
7.3.240.0090.01216.24
7.3.230.0110.00816.21
7.3.220.0130.00916.00
7.3.210.0130.00616.18
7.3.200.0100.01016.18
7.3.190.0120.00816.28
7.3.180.0070.01216.21
7.3.170.0050.01316.30
7.3.160.0110.00716.26
7.3.150.0080.01016.39
7.3.140.0200.00216.41
7.3.130.0110.00816.18
7.3.120.0160.00516.18
7.3.110.0090.00816.17
7.3.100.0140.00716.21
7.3.90.0110.00816.14
7.3.80.0130.00616.21
7.3.70.0050.01216.18
7.3.60.0090.00816.23
7.3.50.0110.00716.20
7.3.40.0090.01016.08
7.3.30.0090.01116.07
7.3.20.0150.00517.00
7.3.10.0130.00717.07
7.3.00.0150.01017.13
7.2.340.0110.00816.30
7.2.330.0120.01216.33
7.2.320.0110.01216.36
7.2.310.0110.00716.32
7.2.300.0140.00716.22
7.2.290.0090.01515.99
7.2.280.0100.01015.97
7.2.270.0090.00916.38
7.2.260.0180.00416.35
7.2.250.0210.00616.34
7.2.240.0070.01116.50
7.2.230.0180.00716.48
7.2.220.0150.00716.23
7.2.210.0110.00816.08
7.2.200.0130.00616.40
7.2.190.0040.01716.26
7.2.180.0040.01716.28
7.2.170.0070.01116.46
7.2.160.0170.00416.33
7.2.150.0090.01018.30
7.2.140.0170.00318.21
7.2.130.0130.00718.23
7.2.120.0100.01017.91
7.2.110.0090.00918.21
7.2.100.0130.00817.91
7.2.90.0170.00918.23
7.2.80.0060.01518.00
7.2.70.0130.00817.83
7.2.60.0170.00717.98
7.2.50.0100.01417.91
7.2.40.0130.00717.93
7.2.30.0140.00718.21
7.2.20.0130.01018.02
7.2.10.0140.00618.02
7.2.00.0100.01017.81
7.1.330.0280.00917.31
7.1.320.0350.00017.33
7.1.310.0270.00917.38
7.1.300.0260.01017.33
7.1.290.0240.00717.14
7.1.280.0220.01417.25
7.1.270.0240.00817.36
7.1.260.0220.01317.32
7.1.250.0250.00917.15
7.1.240.0220.01317.21
7.1.230.0240.01217.25
7.1.220.0190.01217.16
7.1.210.0260.00617.26
7.1.200.0200.01017.25
7.1.190.0290.00317.34
7.1.180.0220.00917.29
7.1.170.0220.01017.27
7.1.160.0320.00317.22
7.1.150.0200.01017.41
7.1.140.0230.00717.28
7.1.130.0180.01417.21
7.1.120.0250.00717.36
7.1.110.0280.00617.23
7.1.100.0280.00917.28
7.1.90.0350.01117.16
7.1.80.0200.01917.24
7.1.70.0290.01017.40
7.1.60.0200.01317.20
7.1.50.0290.00617.32
7.1.40.0220.01517.09
7.1.30.0260.00917.35
7.1.20.0340.00315.32
7.1.10.0280.01715.36
7.1.00.0300.01015.41
7.0.330.0190.01516.89
7.0.320.0140.02317.04
7.0.310.0270.00616.87
7.0.300.0260.00816.79
7.0.290.0230.00716.87
7.0.280.0180.01817.04
7.0.270.0190.01616.87
7.0.260.0190.01116.99
7.0.250.0180.01417.17
7.0.240.0280.00616.97
7.0.230.0330.00916.95
7.0.220.0310.00916.96
7.0.210.0210.01216.82
7.0.200.0330.00017.04
7.0.190.0240.00716.95
7.0.180.0330.00316.94
7.0.170.0260.01117.14
7.0.160.0260.00715.15
7.0.150.0270.00615.32
7.0.140.0290.00615.09
7.0.130.0260.00615.17
7.0.120.0300.00315.04
7.0.110.0360.00715.29
7.0.100.0210.00815.15
7.0.90.0240.00815.23
7.0.80.0210.01215.04
7.0.70.0200.01215.23
7.0.60.0300.00315.44
7.0.50.0230.01115.40
7.0.40.0290.00015.06
7.0.30.0270.00415.27
7.0.20.0190.01015.18
7.0.10.0280.00415.16
7.0.00.0260.00415.18
5.6.400.0290.00915.95
5.6.390.0270.00815.64
5.6.380.0320.00315.89
5.6.370.0250.01315.68
5.6.360.0170.01516.00
5.6.350.0220.00815.74
5.6.340.0260.01215.95
5.6.330.0250.00915.93
5.6.320.0190.01515.73
5.6.310.0210.01215.70
5.6.300.0300.00815.79
5.6.290.0140.02515.77
5.6.280.0170.02015.80
5.6.270.0260.00615.79
5.6.260.0230.01315.60
5.6.250.0330.00715.94
5.6.240.0230.01215.75
5.6.230.0150.01515.66
5.6.220.0160.01615.65
5.6.210.0260.01115.79
5.6.200.0240.01015.65
5.6.190.0260.00615.81
5.6.180.0200.01415.74
5.6.170.0240.00915.96
5.6.160.0210.00915.75
5.6.150.0190.01115.65
5.6.140.0270.00416.04
5.6.130.0150.01815.88
5.6.120.0250.00815.71
5.6.110.0310.00615.74
5.6.100.0230.00615.62
5.6.90.0180.01415.93
5.6.80.0210.01115.64
5.6.70.0180.01515.70
5.6.60.0180.01515.59
5.6.50.0270.01015.89
5.6.40.0250.00615.80
5.6.30.0150.01715.69
5.6.20.0240.01215.63
5.6.10.0240.00815.55
5.6.00.0210.00915.63
5.5.380.0270.00915.54
5.5.370.0230.00915.48
5.5.360.0230.01715.67
5.5.350.0240.01415.46
5.5.340.0270.01315.61
5.5.330.0180.01515.63
5.5.320.0250.00715.71
5.5.310.0250.01315.53
5.5.300.0250.00615.64
5.5.290.0240.00815.85
5.5.280.0270.00415.62
5.5.270.0260.01015.68
5.5.260.0170.01815.52
5.5.250.0260.01015.36
5.5.240.0280.01015.68
5.5.230.0230.00715.66
5.5.220.0250.00615.57
5.5.210.0120.01815.55
5.5.200.0270.00515.67
5.5.190.0250.01315.55
5.5.180.0180.01815.66
5.5.170.0240.00815.70
5.5.160.0210.01715.55
5.5.150.0250.01115.29
5.5.140.0190.02015.32
5.5.130.0240.01015.70
5.5.120.0250.01415.64
5.5.110.0300.00415.60
5.5.100.0270.00815.52
5.5.90.0210.01615.77
5.5.80.0210.01515.61
5.5.70.0260.00615.52
5.5.60.0260.00615.27
5.5.50.0200.01415.66
5.5.40.0300.00415.66
5.5.30.0300.00915.59
5.5.20.0210.01015.68
5.5.10.0210.00915.73
5.5.00.0280.00915.44
5.4.450.0160.00812.63
5.4.440.0170.00712.39
5.4.430.0150.00812.57
5.4.420.0150.00912.35
5.4.410.0090.01512.46
5.4.400.0100.01312.42
5.4.390.0100.01512.52
5.4.380.0160.00612.51
5.4.370.0170.00912.35
5.4.360.0120.01212.38
5.4.350.0160.01312.32
5.4.340.0180.00712.41
5.4.330.0220.00312.52
5.4.320.0210.01112.41
5.4.310.0170.00712.34
5.4.300.0190.00612.33
5.4.290.0130.01012.36
5.4.280.0210.00412.32
5.4.270.0200.00812.32
5.4.260.0140.01112.52
5.4.250.0130.01312.34
5.4.240.0160.00812.55
5.4.230.0210.00712.25
5.4.220.0130.00912.43
5.4.210.0130.01712.46
5.4.200.0220.01312.35
5.4.190.0230.00312.35
5.4.180.0140.01512.45
5.4.170.0190.00612.31
5.4.160.0200.00412.36
5.4.150.0210.00712.27
5.4.140.0170.01412.68
5.4.130.0130.01312.43
5.4.120.0110.01112.72
5.4.110.0140.00712.46
5.4.100.0260.00412.37
5.4.90.0170.00412.45
5.4.80.0140.00812.43
5.4.70.0150.00712.36
5.4.60.0180.00612.47
5.4.50.0150.00612.52
5.4.40.0130.00812.50
5.4.30.0140.01512.32
5.4.20.0190.00312.39
5.4.10.0220.00712.32
5.4.00.0150.01012.47
5.3.290.0230.00712.92
5.3.280.0150.01212.73
5.3.270.0190.00813.07
5.3.260.0170.01012.89
5.3.250.0180.00712.79
5.3.240.0130.01312.75
5.3.230.0140.00712.91
5.3.220.0120.01012.79
5.3.210.0220.00612.98
5.3.200.0120.01212.86
5.3.190.0120.01213.02
5.3.180.0080.01313.08
5.3.170.0160.00713.19
5.3.160.0230.00313.10
5.3.150.0150.00813.02
5.3.140.0160.00913.02
5.3.130.0150.00913.00
5.3.120.0150.01113.09
5.3.110.0180.00713.07
5.3.100.0110.01412.98
5.3.90.0070.01813.04
5.3.80.0110.01112.88
5.3.70.0070.01512.90
5.3.60.0050.01613.03
5.3.50.0070.01912.87
5.3.40.0190.00712.87
5.3.30.0130.01012.94
5.3.20.0180.00512.92
5.3.10.0110.01512.91
5.3.00.0110.01512.80
5.2.170.0150.00412.05
5.2.160.0110.00811.96
5.2.150.0140.00512.04
5.2.140.0160.00311.98
5.2.130.0090.01112.20
5.2.120.0170.00711.95
5.2.110.0100.01412.12
5.2.100.0190.00712.08
5.2.90.0400.02212.11
5.2.80.0450.02311.89
5.2.70.0160.01311.93
5.2.60.0110.01111.76
5.2.50.0060.01511.87
5.2.40.0140.01512.00
5.2.30.0190.00611.99
5.2.20.0150.00911.83
5.2.10.0150.00611.81
5.2.00.0170.00311.66
5.1.60.0290.01610.89
5.1.50.0140.00510.84
5.1.40.0140.00610.98
5.1.30.0100.00711.07
5.1.20.0110.00810.98
5.1.10.0130.00411.07
5.1.00.0140.00710.99
5.0.50.0180.00810.32
5.0.40.0150.00310.22
5.0.30.0100.0039.84
5.0.20.0030.0139.84
5.0.10.0100.0059.80
5.0.00.0090.0069.85
4.4.90.0080.0079.59
4.4.80.0080.0039.59
4.4.70.0080.0049.59
4.4.60.0050.0059.59
4.4.50.0090.0039.59
4.4.40.0110.0009.59
4.4.30.0080.0039.59
4.4.20.0060.0059.59
4.4.10.0160.0009.59
4.4.00.0080.0059.59
4.3.110.0050.0059.59
4.3.100.0090.0009.59
4.3.90.0050.0079.59
4.3.80.0060.0069.59
4.3.70.0090.0039.59
4.3.60.0050.0059.59
4.3.50.0110.0029.59
4.3.40.0120.0009.59
4.3.30.0050.0059.59
4.3.20.0090.0029.59
4.3.10.0080.0049.59
4.3.00.0060.0069.59

preferences:
73.24 ms | 400 KiB | 5 Q