3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(json_decode('{"personalizations": [{"to": [{"email": "test@example.com"}]}],"from": {"email": "test@example.com"},"subject": "Sending with SendGrid is Fun","content": [{"type": "text/plain", "value": "and easy to do anywhere, even with cURL"}]}'));

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.0150.00018.18
8.3.50.0090.00616.50
8.3.40.0110.00718.61
8.3.30.0090.00618.63
8.3.20.0080.00020.61
8.3.10.0080.00023.61
8.3.00.0000.00819.14
8.2.180.0110.00718.16
8.2.170.0110.00722.96
8.2.160.0080.00620.39
8.2.150.0060.00324.18
8.2.140.0070.00024.66
8.2.130.0040.00420.35
8.2.120.0080.00026.35
8.2.110.0100.00019.43
8.2.100.0040.00717.53
8.2.90.0000.00818.92
8.2.80.0000.00817.97
8.2.70.0030.00617.38
8.2.60.0000.00917.80
8.2.50.0090.00018.10
8.2.40.0080.00022.23
8.2.30.0050.00219.14
8.2.20.0040.00417.93
8.2.10.0070.00018.02
8.2.00.0040.00417.79
8.1.280.0180.00325.92
8.1.270.0060.00322.14
8.1.260.0050.00226.35
8.1.250.0080.00028.09
8.1.240.0000.00822.05
8.1.230.0080.00417.42
8.1.220.0040.00417.74
8.1.210.0090.00018.77
8.1.200.0000.01017.10
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0030.00518.27
8.1.160.0030.00318.84
8.1.150.0030.00618.73
8.1.140.0030.00919.54
8.1.130.0000.00718.79
8.1.120.0030.00317.20
8.1.110.0060.00317.36
8.1.100.0030.00517.36
8.1.90.0040.00417.36
8.1.80.0110.00017.33
8.1.70.0000.00817.34
8.1.60.0030.00617.49
8.1.50.0040.00417.25
8.1.40.0030.00617.30
8.1.30.0040.00417.50
8.1.20.0030.00517.52
8.1.10.0060.00317.34
8.1.00.0030.00617.32
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0030.00318.31
8.0.270.0000.00717.03
8.0.260.0000.00616.55
8.0.250.0070.00016.70
8.0.240.0000.00816.83
8.0.230.0050.00616.78
8.0.220.0030.00316.64
8.0.210.0030.00316.72
8.0.200.0070.00016.77
8.0.190.0050.00316.68
8.0.180.0050.00316.66
8.0.170.0000.00716.72
8.0.160.0030.00516.73
8.0.150.0030.00316.67
8.0.140.0050.00216.62
8.0.130.0000.00613.16
8.0.120.0040.00416.63
8.0.110.0070.00016.79
8.0.100.0050.00216.69
8.0.90.0080.00016.60
8.0.80.0080.01516.74
8.0.70.0040.00416.64
8.0.60.0060.00316.77
8.0.50.0040.00416.81
8.0.30.0140.00516.76
8.0.20.0090.01217.40
8.0.10.0000.00716.75
8.0.00.0090.00916.70
7.4.330.0000.00515.55
7.4.320.0000.00616.36
7.4.300.0000.00716.45
7.4.290.0000.00716.35
7.4.280.0030.00416.28
7.4.270.0000.00716.27
7.4.260.0060.00013.14
7.4.250.0000.00716.32
7.4.240.0000.00716.46
7.4.230.0070.00016.38
7.4.220.0090.00916.55
7.4.210.0070.00716.40
7.4.200.0040.00416.27
7.4.160.0100.00816.12
7.4.150.0090.01017.40
7.4.140.0080.01417.86
7.4.130.0130.00616.48
7.4.120.0080.01216.30
7.4.110.0150.00316.26
7.4.100.0060.01216.32
7.4.90.0140.00416.27
7.4.80.0070.01019.39
7.4.70.0090.00916.35
7.4.60.0000.01616.41
7.4.50.0090.00616.29
7.4.40.0090.01116.47
7.4.30.0040.01216.45
7.4.10.0040.01414.45
7.4.00.0070.01014.78
7.3.330.0000.00513.04
7.3.320.0000.00513.01
7.3.310.0070.00016.16
7.3.300.0070.00016.17
7.3.290.0050.00316.03
7.3.280.0090.01016.12
7.3.270.0130.00417.40
7.3.260.0160.00816.12
7.3.250.0150.00916.21
7.3.240.0120.00916.23
7.3.230.0060.01216.32
7.3.210.0040.01616.21
7.3.200.0140.00416.01
7.3.190.0130.00316.26
7.3.180.0160.00816.38
7.3.170.0090.01516.06
7.3.160.0060.01116.13
7.3.130.0030.01614.87
7.3.120.0080.00814.61
7.3.110.0090.00814.50
7.3.100.0040.00914.86
7.3.90.0060.00914.73
7.3.80.0110.00314.40
7.3.70.0060.00814.54
7.3.60.0060.00814.60
7.3.50.0010.01114.46
7.3.40.0020.01314.66
7.3.30.0090.00414.75
7.3.20.0100.00616.56
7.3.10.0080.00716.41
7.3.00.0090.00116.44
7.2.330.0130.01316.52
7.2.320.0110.00716.21
7.2.310.0080.01016.31
7.2.300.0060.01016.26
7.2.290.0060.01216.41
7.2.260.0060.01014.92
7.2.250.0080.01314.62
7.2.240.0070.00914.79
7.2.230.0090.00914.83
7.2.220.0030.01314.62
7.2.210.0000.01414.94
7.2.200.0030.00814.91
7.2.190.0060.00914.56
7.2.180.0040.01114.70
7.2.170.0060.00714.85
7.2.160.0030.00714.80
7.2.150.0030.00716.68
7.2.140.0040.01116.88
7.2.130.0080.00816.53
7.2.120.0040.01216.69
7.2.110.0080.00816.34
7.2.100.0120.00316.36
7.2.90.0100.00316.54
7.2.80.0140.00416.79
7.2.70.0030.01316.83
7.2.60.0110.00716.57
7.2.50.0060.00916.55
7.2.40.0130.00016.85
7.2.30.0120.00316.67
7.2.20.0060.00616.59
7.2.10.0100.00716.78
7.2.00.0060.00917.86
7.1.330.0080.00615.60
7.1.320.0030.01015.66
7.1.310.0070.00815.70
7.1.300.0050.00715.70
7.1.290.0010.00815.38
7.1.280.0050.00915.67
7.1.270.0000.01515.67
7.1.260.0100.00715.48
7.1.250.0080.00415.67
7.1.240.0110.00415.93
7.1.230.0090.00615.75
7.1.220.0060.00915.28
7.1.210.0030.00615.59
7.1.200.0060.00415.58
7.1.190.0070.00715.80
7.1.180.0000.01315.78
7.1.170.0040.00415.75
7.1.160.0070.00715.49
7.1.150.0040.01215.59
7.1.140.0040.01115.68
7.1.130.0030.01015.69
7.1.120.0070.00715.61
7.1.110.0080.00815.53
7.1.100.0050.00717.06
7.1.90.0090.00315.83
7.1.80.0090.00015.77
7.1.70.0070.00916.33
7.1.60.0370.01424.27
7.1.50.0680.00824.31
7.1.40.0550.00724.06
7.1.30.0730.01223.97
7.1.20.0540.00824.08
7.1.10.0650.01115.24
7.1.00.0500.00915.22
7.0.330.0070.00714.99
7.0.320.0000.01415.30
7.0.310.0000.01515.29
7.0.300.0030.01315.23
7.0.290.0130.00015.45
7.0.280.0050.00915.11
7.0.270.0080.00615.35
7.0.260.0120.00315.28
7.0.250.0040.00415.14
7.0.240.0050.00515.06
7.0.230.0060.01215.30
7.0.220.0000.01715.35
7.0.210.0000.01115.25
7.0.200.0500.01014.89
7.0.190.0500.00714.92
7.0.180.0360.00814.90
7.0.170.0800.01214.79
7.0.160.0640.00514.90
7.0.150.0540.01214.80
7.0.140.0470.01114.70
7.0.130.0550.01214.90
7.0.120.0410.00914.84
7.0.110.0400.01314.73
7.0.100.0450.00814.80
7.0.90.0570.00714.90
7.0.80.0850.00714.86
7.0.70.0810.01514.81
7.0.60.0530.01414.81
7.0.50.0920.01014.93
7.0.40.0750.01313.90
7.0.30.0850.01113.93
7.0.20.0580.00613.95
7.0.10.0480.01113.92
7.0.00.0780.00613.73
5.6.400.0030.01413.92
5.6.390.0100.00014.01
5.6.380.0030.01314.26
5.6.370.0090.00614.13
5.6.360.0070.01014.04
5.6.350.0070.00714.10
5.6.340.0070.00314.34
5.6.330.0130.00314.23
5.6.320.0030.00914.21
5.6.310.0060.00314.09
5.6.300.0060.00613.90
5.6.290.0060.01014.29
5.6.280.0060.00614.50
5.6.270.0040.01014.25
5.6.260.0030.00914.00
5.6.250.0110.00414.05
5.6.240.0090.00614.06
5.6.230.0000.01414.28
5.6.220.0070.00714.38
5.6.210.0030.01314.20
5.6.200.0040.00714.21
5.6.190.0100.00014.38
5.6.180.0070.00714.00
5.6.170.0000.01213.91
5.6.160.0090.00614.41
5.6.150.0090.00614.09
5.6.140.0090.00013.99
5.6.130.0040.00713.96
5.6.120.0030.01014.07
5.6.110.0000.01313.98
5.6.100.0070.00714.20
5.6.90.0060.01014.15
5.6.80.0000.01514.11
5.6.70.0060.01213.92
5.6.60.0060.00913.95
5.6.50.0030.01514.13
5.6.40.0100.00314.00
5.6.30.0030.00913.93
5.6.20.0060.00613.95
5.6.10.0060.00913.92
5.6.00.0070.01013.88

preferences:
88.4 ms | 401 KiB | 5 Q