3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ciphers = openssl_get_cipher_methods(); $ciphers_and_aliases = openssl_get_cipher_methods(true); $cipher_aliases = array_diff($ciphers_and_aliases, $ciphers); //print_r($ciphers); //print_r($cipher_aliases); $context = stream_context_create(['ssl' => [ 'ciphers' => 'HIGH:MEDIUM:LOW@SPEED' ]]); $html = file_get_contents('https://somesite.com', null, $context);

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.0180.00416.50
8.3.50.0140.00821.92
8.3.40.0140.00318.92
8.3.30.0110.00418.96
8.3.20.0050.00220.41
8.3.10.0000.00821.87
8.3.00.0060.00319.27
8.2.180.0000.01516.88
8.2.170.0070.00722.96
8.2.160.0080.00820.20
8.2.150.0030.00524.18
8.2.140.0040.00424.66
8.2.130.0000.00817.50
8.2.120.0060.00326.35
8.2.110.0060.00320.83
8.2.100.0090.00617.72
8.2.90.0080.00018.09
8.2.80.0040.00418.03
8.2.70.0080.00017.80
8.2.60.0120.00017.43
8.2.50.0040.00418.10
8.2.40.0040.00420.59
8.2.30.0000.00720.60
8.2.20.0000.00917.60
8.2.10.0000.00818.05
8.2.00.0030.00618.04
8.1.280.0200.00425.92
8.1.270.0090.00322.19
8.1.260.0070.00028.09
8.1.250.0050.00228.09
8.1.240.0070.00422.02
8.1.230.0040.00820.96
8.1.220.0030.00617.74
8.1.210.0060.00318.77
8.1.200.0030.00617.22
8.1.190.0000.00817.00
8.1.180.0040.00418.10
8.1.170.0060.00318.59
8.1.160.0050.00322.04
8.1.150.0070.00018.74
8.1.140.0050.00319.36
8.1.130.0030.00317.58
8.1.120.0000.00717.26
8.1.110.0050.00217.35
8.1.100.0030.00517.19
8.1.90.0040.00317.23
8.1.80.0000.00717.29
8.1.70.0050.00317.35
8.1.60.0040.00417.48
8.1.50.0000.00817.47
8.1.40.0040.00417.34
8.1.30.0060.00317.56
8.1.20.0030.00517.55
8.1.10.0050.00517.46
8.1.00.0030.00517.43
8.0.300.0000.00719.90
8.0.290.0040.00416.75
8.0.280.0070.00018.49
8.0.270.0040.00417.15
8.0.260.0000.00717.19
8.0.250.0000.00717.02
8.0.240.0040.00416.85
8.0.230.0070.00016.97
8.0.220.0000.00916.76
8.0.210.0000.00716.93
8.0.200.0000.00616.85
8.0.190.0040.00416.89
8.0.180.0000.00716.91
8.0.170.0040.00416.92
8.0.160.0000.00716.78
8.0.150.0080.00016.67
8.0.140.0040.00416.72
8.0.130.0090.00013.39
8.0.120.0050.00316.96
8.0.110.0040.00416.84
8.0.100.0040.00416.95
8.0.90.0050.00316.76
8.0.80.0090.00916.85
8.0.70.0040.00416.70
8.0.60.0030.00516.95
8.0.50.0080.00016.89
8.0.30.0130.00616.95
8.0.20.0170.01817.40
8.0.10.0040.00416.88
8.0.00.0130.00516.77
7.4.330.0020.00216.66
7.4.320.0000.00716.46
7.4.300.0000.00616.55
7.4.290.0030.00316.35
7.4.280.0000.00816.43
7.4.270.0080.00016.54
7.4.260.0000.00816.42
7.4.250.0040.00416.30
7.4.240.0060.00116.43
7.4.230.0000.00716.54
7.4.220.0100.01016.57
7.4.210.0030.01116.61
7.4.200.0070.00016.37
7.4.160.0030.01216.39
7.4.150.0260.02617.40
7.4.140.0140.01017.86
7.4.130.0120.00816.64
7.4.120.0110.00616.47
7.4.110.0100.01016.44
7.4.100.0160.00616.66
7.4.90.0030.01316.41
7.4.80.0150.00319.39
7.4.70.0090.01216.41
7.4.60.0080.00816.58
7.4.50.0100.00616.52
7.4.40.0070.01016.36
7.4.30.0110.00816.57
7.4.10.0090.00914.80
7.4.00.0080.00815.05
7.3.330.0030.00313.09
7.3.320.0040.00413.10
7.3.310.0030.00316.35
7.3.300.0030.00316.29
7.3.290.0070.00816.26
7.3.280.0120.00616.34
7.3.270.0120.00617.40
7.3.260.0150.00316.47
7.3.250.0080.00816.38
7.3.240.0080.01116.37
7.3.230.0170.00616.54
7.3.210.0070.01016.37
7.3.200.0110.00616.15
7.3.190.0100.00716.32
7.3.180.0100.00716.28
7.3.170.0160.00016.46
7.3.160.0120.00316.29
7.3.130.0070.00714.50
7.3.120.0110.00414.90
7.3.110.0100.00714.71
7.3.100.0000.01414.84
7.3.90.0090.00414.48
7.3.80.0090.00314.79
7.3.70.0090.00314.76
7.3.60.0060.00314.71
7.3.50.0000.01114.83
7.3.40.0080.00014.66
7.3.30.0060.00614.83
7.3.20.0030.01216.34
7.3.10.0110.00416.61
7.3.00.0080.00416.38
7.2.330.0140.00916.62
7.2.320.0090.01516.56
7.2.310.0060.01016.19
7.2.300.0090.00816.52
7.2.290.0040.01416.25
7.2.260.0180.00014.61
7.2.250.0040.01414.83
7.2.240.0090.00614.90
7.2.230.0030.00914.72
7.2.220.0080.00614.72
7.2.210.0000.01414.82
7.2.200.0070.00714.82
7.2.190.0060.00614.94
7.2.180.0040.01115.09
7.2.170.0030.01214.83
7.2.160.0100.00015.00
7.2.150.0060.00316.73
7.2.140.0080.00416.84
7.2.130.0000.01516.54
7.2.120.0000.01116.64
7.2.110.0030.01016.80
7.2.100.0040.00816.82
7.2.90.0060.00616.78
7.2.80.0100.00316.72
7.2.70.0070.00716.63
7.2.60.0090.00616.80
7.2.50.0000.01416.77
7.2.40.0040.01116.95
7.2.30.0030.00716.77
7.2.20.0090.00616.82
7.2.10.0140.00416.80
7.2.00.0060.00918.12
7.1.330.0070.00715.78
7.1.320.0060.00615.70
7.1.310.0070.00415.65
7.1.300.0080.00415.43
7.1.290.0000.01215.65
7.1.280.0000.00915.67
7.1.270.0000.01215.68
7.1.260.0070.00715.62
7.1.250.0060.00615.40
7.1.240.0090.00615.61
7.1.230.0050.00515.49
7.1.220.0060.00315.65
7.1.210.0040.00415.46
7.1.200.0030.01015.57
7.1.190.0060.00815.69
7.1.180.0040.01115.30
7.1.170.0060.00615.35
7.1.160.0040.00815.44
7.1.150.0000.01115.64
7.1.140.0060.01015.25
7.1.130.0110.00415.48
7.1.120.0040.00715.49
7.1.110.0100.00315.53
7.1.100.0240.01415.89
7.1.90.0000.00815.43
7.1.80.0100.00315.39
7.1.70.0050.00716.43
7.1.60.0020.01617.44
7.1.50.0070.00916.38
7.1.40.0040.00415.64
7.1.30.0070.00415.57
7.1.20.0040.00415.61
7.1.10.0000.01115.57
7.1.00.0080.04019.01
7.0.330.0030.00615.11
7.0.320.0060.00915.12
7.0.310.0070.00315.22
7.0.300.0050.00515.15
7.0.290.0000.01515.43
7.0.280.0030.01015.30
7.0.270.0030.01015.47
7.0.260.0060.00715.11
7.0.250.0050.00815.45
7.0.240.0000.01315.15
7.0.230.0000.00815.30
7.0.220.0030.00915.22
7.0.210.0070.00715.27
7.0.200.0030.00716.20
7.0.190.0030.01015.04
7.0.180.0100.00315.49
7.0.170.0000.01515.30
7.0.160.0070.00715.37
7.0.150.0030.00715.14
7.0.140.0070.00314.98
7.0.130.0040.00715.29
7.0.120.0040.01115.47
7.0.110.0040.00415.17
7.0.100.0080.00015.24
7.0.90.0030.01215.14
7.0.80.0000.00815.41
7.0.70.0060.00915.38
7.0.60.0020.02517.82
7.0.50.0050.04516.75
7.0.40.0030.02916.91
7.0.30.0130.02817.00
7.0.20.0180.04316.67
7.0.10.0080.02416.89
7.0.00.0020.02816.94
5.6.400.0070.00714.20
5.6.390.0040.00413.97
5.6.380.0030.01014.07
5.6.370.0040.00814.04
5.6.360.0110.00314.08
5.6.350.0090.00614.31
5.6.340.0000.01513.91
5.6.330.0000.01314.12
5.6.320.0030.01013.90
5.6.310.0060.00613.91
5.6.300.0030.01213.88
5.6.290.0060.00714.19
5.6.280.0000.03917.79
5.6.270.0070.00714.32
5.6.260.0000.00814.21
5.6.250.0030.01014.05
5.6.240.0100.00314.15
5.6.230.0110.00014.09
5.6.220.0060.00613.90
5.6.210.0120.02817.61
5.6.200.0120.04216.30
5.6.190.0090.04417.72
5.6.180.0150.03117.66
5.6.170.0130.03017.44
5.6.160.0080.04217.37
5.6.150.0110.02216.48
5.6.140.0050.02716.24
5.6.130.0080.04416.37
5.6.120.0100.03517.97
5.6.110.0030.03617.70
5.6.100.0030.04117.65
5.6.90.0030.02617.96
5.6.80.0080.03517.38
5.6.70.0000.00814.04
5.6.60.0040.00414.21
5.6.50.0070.00713.94
5.6.40.0040.01113.89
5.6.30.0130.00014.09
5.6.20.0000.00913.93
5.6.10.0000.00814.11
5.6.00.0030.01213.81
5.5.380.0030.01014.17
5.5.370.0040.01214.16
5.5.360.0080.00414.25
5.5.350.2040.01917.42
5.5.340.0050.02716.21
5.5.330.0070.02417.55
5.5.320.0020.03017.22
5.5.310.0150.04017.40
5.5.300.0030.03516.15
5.5.290.0000.03916.13
5.5.280.0030.04917.52
5.5.270.0130.03917.77
5.5.260.0030.03417.70
5.5.250.0070.04317.50
5.5.240.0070.02417.22
5.5.230.0040.00413.73
5.5.220.0000.01113.93
5.5.210.0030.00713.96
5.5.200.0060.00314.01
5.5.190.0040.00813.86
5.5.180.0070.00713.89
5.5.170.0150.00014.05
5.5.160.0040.01113.82
5.5.150.0030.00614.06
5.5.140.0030.01213.64
5.5.130.0040.00413.74
5.5.120.0080.00013.93
5.5.110.0030.01013.84
5.5.100.0000.01314.08
5.5.90.0030.01013.91
5.5.80.0090.00613.94
5.5.70.0000.01213.59
5.5.60.0120.00313.93
5.5.50.0030.00914.05
5.5.40.0060.01014.09
5.5.30.0000.01314.02
5.5.20.0030.01014.04
5.5.10.0000.01413.73
5.5.00.0000.01313.81

preferences:
99.81 ms | 401 KiB | 5 Q