3v4l.org

run code in 300+ PHP versions simultaneously
<?php # Create a connection $url = 'https://graph.facebook.com'; $ch = curl_init($url); # Form data string $postString = http_build_query($data, '', '&'); # Setting our options curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $postString); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); # Get the response $response = curl_exec($ch); curl_close($ch);

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.00718.56
8.3.50.0100.00716.37
8.3.40.0090.00618.91
8.3.30.0140.00018.63
8.3.20.0040.00420.13
8.3.10.0000.00721.75
8.3.00.0000.00820.77
8.2.180.0070.00718.54
8.2.170.0070.00722.96
8.2.160.0200.00022.11
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0030.00522.23
8.2.120.0040.00426.35
8.2.110.0030.00620.89
8.2.100.0080.00318.09
8.2.90.0000.00819.13
8.2.80.0040.00418.05
8.2.70.0040.00417.63
8.2.60.0030.00617.80
8.2.50.0050.00318.10
8.2.40.0040.00422.29
8.2.30.0040.00419.20
8.2.20.0000.00718.08
8.2.10.0050.00317.95
8.2.00.0040.00417.95
8.1.280.0140.00725.92
8.1.270.0040.00423.70
8.1.260.0000.00726.35
8.1.250.0000.00728.09
8.1.240.0080.00023.98
8.1.230.0070.00319.10
8.1.220.0040.00417.74
8.1.210.0070.00318.77
8.1.200.0080.00317.35
8.1.190.0040.00417.25
8.1.180.0040.00418.10
8.1.170.0000.00818.48
8.1.160.0000.00718.89
8.1.150.0050.00320.21
8.1.140.0040.00419.50
8.1.130.0000.00818.75
8.1.120.0040.00417.42
8.1.110.0000.00817.45
8.1.100.0030.00317.45
8.1.90.0000.00717.38
8.1.80.0040.00417.45
8.1.70.0080.00017.34
8.1.60.0060.00317.47
8.1.50.0040.00417.53
8.1.40.0000.01017.58
8.1.30.0040.00417.50
8.1.20.0000.00717.70
8.1.10.0060.00317.47
8.1.00.0000.00717.39
8.0.300.0000.00718.77
8.0.290.0050.00216.59
8.0.280.0000.00718.49
8.0.270.0000.00717.13
8.0.260.0060.00016.77
8.0.250.0000.00716.98
8.0.240.0070.00016.95
8.0.230.0070.00016.96
8.0.220.0030.00316.98
8.0.210.0070.00016.88
8.0.200.0040.00717.02
8.0.190.0090.00017.05
8.0.180.0040.00416.87
8.0.170.0070.00016.95
8.0.160.0030.00516.91
8.0.150.0000.00816.85
8.0.140.0040.00416.93
8.0.130.0050.00013.24
8.0.120.0070.00016.90
8.0.110.0070.00016.95
8.0.100.0000.00716.92
8.0.90.0000.00716.99
8.0.80.0070.01016.89
8.0.70.0030.00617.03
8.0.60.0070.00016.93
8.0.50.0000.00717.03
8.0.30.0100.00916.94
8.0.20.0090.01217.40
8.0.10.0000.00716.97
8.0.00.0120.00616.87
7.4.330.0060.00015.55
7.4.320.0030.00316.44
7.4.300.0000.00716.51
7.4.290.0000.00716.52
7.4.280.0040.00416.44
7.4.270.0000.00716.55
7.4.260.0030.00313.33
7.4.250.0050.00316.47
7.4.240.0070.00016.65
7.4.230.0000.00716.70
7.4.220.0140.00316.52
7.4.210.0110.00316.74
7.4.200.0050.00216.59
7.4.160.0130.00516.72
7.4.150.0070.01217.40
7.4.140.0110.00717.86
7.4.130.0110.00716.63
7.4.120.0090.00916.62
7.4.110.0070.01016.54
7.4.100.0100.00716.54
7.4.90.0070.01016.52
7.4.80.0150.00919.39
7.4.70.0100.00616.67
7.4.60.0140.00416.60
7.4.50.0080.01016.77
7.4.40.0070.01016.39
7.4.30.0130.00316.46
7.4.10.0030.01015.13
7.4.00.0060.00915.02
7.3.330.0030.00313.04
7.3.320.0060.00013.27
7.3.310.0000.00716.11
7.3.300.0000.00716.30
7.3.290.0040.01016.31
7.3.280.0070.01016.29
7.3.270.0160.00317.40
7.3.260.0080.00916.31
7.3.250.0110.00916.36
7.3.240.0060.01216.35
7.3.230.0000.01716.34
7.3.210.0100.00716.54
7.3.200.0090.00716.31
7.3.190.0070.01016.57
7.3.180.0110.00516.42
7.3.170.0060.01016.45
7.3.160.0090.00616.28
7.3.130.0070.01014.82
7.3.120.0080.00814.56
7.3.110.0030.01014.88
7.3.100.0050.01114.67
7.3.90.0030.01114.65
7.3.80.0050.00514.78
7.3.70.0060.00314.76
7.3.60.0100.00714.74
7.3.50.0080.00714.78
7.3.40.0060.00614.88
7.3.30.0050.00714.91
7.3.20.0040.00716.49
7.3.10.0060.00916.57
7.3.00.0060.00616.65
7.2.330.0060.01316.63
7.2.320.0120.01216.42
7.2.310.0070.01116.62
7.2.300.0060.01116.63
7.2.290.0040.01216.30
7.2.260.0060.00814.73
7.2.250.0060.01014.88
7.2.240.0050.01314.68
7.2.230.0050.01114.63
7.2.220.0090.00514.90
7.2.210.0040.00914.88
7.2.200.0070.00714.67
7.2.190.0050.00914.84
7.2.180.0080.00814.99
7.2.170.0050.01014.97
7.2.160.0000.01414.83
7.2.150.0070.00716.40
7.2.140.0030.00716.83
7.2.130.0030.01016.74
7.2.120.0070.00716.96
7.2.110.0030.01416.82
7.2.100.0050.00516.81
7.2.90.0030.01016.88
7.2.80.0000.01216.54
7.2.70.0040.00716.84
7.2.60.0090.00816.89
7.2.50.0080.00216.69
7.2.40.0000.01016.83
7.2.30.0060.00616.78
7.2.20.0100.00016.88
7.2.10.0130.00016.60
7.2.00.0020.01018.00
7.1.330.0030.00815.60
7.1.320.0090.00315.70
7.1.310.0030.01115.76
7.1.300.0070.01015.63
7.1.290.0040.00615.56
7.1.280.0040.00615.68
7.1.270.0070.00715.62
7.1.260.0030.01015.70
7.1.250.0090.00315.68
7.1.240.0080.00815.53
7.1.230.0000.01515.60
7.1.220.0030.00615.76
7.1.210.0000.01215.37
7.1.200.0030.00615.67
7.1.190.0100.00315.76
7.1.180.0000.00815.71
7.1.170.0080.00815.52
7.1.160.0060.00615.59
7.1.150.0060.00915.31
7.1.140.0070.00415.42
7.1.130.0070.00715.54
7.1.120.0070.00715.60
7.1.110.0030.00715.72
7.1.100.0030.01215.67
7.1.90.0070.00715.81
7.1.80.0000.00915.36
7.1.70.0010.00916.38
7.1.60.0270.01024.27
7.1.50.0400.01024.21
7.1.40.0400.01524.06
7.1.30.0350.01523.96
7.1.20.0230.01224.07
7.1.10.0180.01015.23
7.1.00.0390.00515.02
7.0.330.0130.00015.25
7.0.320.0060.00315.05
7.0.310.0070.00315.13
7.0.300.0060.00615.53
7.0.290.0070.00715.30
7.0.280.0040.00415.38
7.0.270.0070.00715.29
7.0.260.0000.00915.31
7.0.250.0030.01015.48
7.0.240.0100.00315.47
7.0.230.0030.01015.18
7.0.220.0000.01715.36
7.0.210.0090.00415.52
7.0.200.0370.00815.14
7.0.190.0230.01315.06
7.0.180.0280.00715.03
7.0.170.0190.00814.72
7.0.160.0280.01014.87
7.0.150.0220.01214.80
7.0.140.0420.00714.98
7.0.130.0250.00715.00
7.0.120.0230.01214.98
7.0.110.0320.01014.83
7.0.100.0320.01414.78
7.0.90.0390.00714.74
7.0.80.0270.00914.81
7.0.70.0180.01114.62
7.0.60.0380.00714.83
7.0.50.0300.00914.99
7.0.40.0260.01314.08
7.0.30.0270.01014.03
7.0.20.0330.00813.84
7.0.10.0510.01013.98
7.0.00.0230.01014.01
5.6.400.0080.00314.31
5.6.390.0080.00014.48
5.6.380.0030.00714.50
5.6.370.0060.00914.01
5.6.360.0060.00914.45
5.6.350.0060.00614.27
5.6.340.0060.00613.79
5.6.330.0030.01014.29
5.6.320.0000.01314.12
5.6.310.0030.01013.97
5.6.300.0070.01114.47
5.6.290.0090.00914.44
5.6.280.0100.00714.25
5.6.270.0000.01714.25
5.6.260.0060.00914.03
5.6.250.0090.00614.13
5.6.240.0070.01114.46
5.6.230.0030.00914.43
5.6.220.0110.00414.14
5.6.210.0000.01714.05
5.6.200.0030.01514.15
5.6.190.0030.01414.05
5.6.180.0000.01214.37
5.6.170.0070.00713.99
5.6.160.0040.00714.44
5.6.150.0070.00714.11
5.6.140.0000.01414.14
5.6.130.0100.00314.41
5.6.120.0060.00614.14
5.6.110.0030.00614.25
5.6.100.0050.00514.27
5.6.90.0080.00514.04
5.6.80.0060.00314.22
5.6.70.0060.01114.11
5.6.60.0030.01214.31
5.6.50.0030.01013.89
5.6.40.0120.00614.13
5.6.30.0070.01014.35
5.6.20.0030.00714.06
5.6.10.0030.00613.84
5.6.00.0030.00814.04

preferences:
56.94 ms | 401 KiB | 5 Q