3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time = microtime(true); $fp = fsockopen("http://www.yahoo.com", 80, $errno, $errstr, 30); print round(microtime(true) - $time, 2);

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)
7.4.10.0030.00914.91
7.4.00.0030.00914.85
7.3.130.0070.01014.97
7.3.120.0030.01414.69
7.3.110.0070.01114.94
7.3.100.0000.01214.72
7.3.90.0000.01415.07
7.3.80.0030.01014.60
7.3.70.0030.00914.67
7.3.60.0090.00414.66
7.3.50.0030.01014.58
7.3.40.0030.00914.61
7.3.30.0100.00714.87
7.3.20.0070.00716.72
7.3.10.0120.00316.44
7.3.00.0090.00916.41
7.2.260.0100.00715.12
7.2.250.0130.00314.95
7.2.240.0030.01315.11
7.2.230.0030.01214.93
7.2.220.0070.00714.78
7.2.210.0000.01514.87
7.2.200.0000.00814.78
7.2.190.0000.00915.06
7.2.180.0000.00914.87
7.2.170.0070.00715.02
7.2.160.0000.01514.76
7.2.150.0060.01016.88
7.2.140.0070.00716.57
7.2.130.0060.00716.77
7.2.120.0100.00616.58
7.2.110.0130.00616.60
7.2.100.0110.00816.75
7.2.90.0080.01016.72
7.2.80.0080.01016.62
7.2.70.0100.00916.46
7.2.60.0110.00716.69
7.2.50.0120.00816.58
7.2.40.0070.00916.68
7.2.30.0100.00716.81
7.2.20.0090.00716.79
7.2.10.0110.00616.48
7.2.00.0070.00717.43
7.1.330.0040.00915.66
7.1.320.0000.01315.59
7.1.310.0000.00915.77
7.1.300.0060.00915.75
7.1.290.0060.00315.79
7.1.280.0070.00715.74
7.1.270.0100.00315.75
7.1.260.0060.00615.75
7.1.250.0120.00615.39
7.1.240.0080.00815.65
7.1.230.0050.00915.54
7.1.220.0140.00315.72
7.1.210.0050.00915.58
7.1.200.0070.00715.62
7.1.190.0090.00515.70
7.1.180.0100.00515.66
7.1.170.0050.00715.67
7.1.160.0130.00515.54
7.1.150.0090.00815.73
7.1.140.0100.00615.75
7.1.130.0070.01115.50
7.1.120.0100.00815.32
7.1.110.0090.00915.75
7.1.100.0100.00915.59
7.1.90.0080.00915.56
7.1.80.0080.00815.64
7.1.70.0120.00516.12
7.1.60.0100.01116.90
7.1.50.0150.00815.87
7.1.40.0090.00715.73
7.1.30.0070.01115.50
7.1.20.0100.00515.76
7.1.10.0110.00515.77
7.1.00.0080.02817.86
7.0.330.0080.00715.42
7.0.320.0080.01015.35
7.0.310.0050.00815.30
7.0.300.0110.00515.18
7.0.290.0030.01015.16
7.0.280.0080.00815.28
7.0.270.0110.00515.27
7.0.260.0070.00915.39
7.0.250.0040.00815.28
7.0.240.0090.00915.24
7.0.230.0100.00915.24
7.0.220.0060.01415.34
7.0.210.0070.00915.37
7.0.200.0070.00815.81
7.0.190.0140.00615.36
7.0.180.0100.01115.38
7.0.170.0110.00715.34
7.0.160.0110.00615.34
7.0.150.0070.01015.17
7.0.140.0110.02817.65
7.0.130.0130.00415.37
7.0.120.0070.02617.43
7.0.110.0110.00615.14
7.0.100.0100.00815.27
7.0.90.0110.00915.29
7.0.80.0090.00615.08
7.0.70.0090.00715.21
7.0.60.0040.01916.75
7.0.50.0080.03216.18
7.0.40.0050.03415.38
7.0.30.0110.02115.67
7.0.20.0110.01915.67
7.0.10.0020.02115.54
7.0.00.0080.02715.68
5.6.400.0060.00914.30
5.6.390.0060.00614.36
5.6.380.0120.00214.07
5.6.370.0060.00814.17
5.6.360.0080.00414.07
5.6.350.0050.00714.06
5.6.340.0060.00814.13
5.6.330.0050.00714.34
5.6.320.0070.00614.08
5.6.310.0060.01014.31
5.6.300.0080.00714.24
5.6.290.0100.00814.39
5.6.280.0060.02916.60
5.6.270.0160.00314.25
5.6.260.0140.00914.25
5.6.250.0090.01214.12
5.6.240.0070.00814.35
5.6.230.0110.00914.13
5.6.220.0140.00414.11
5.6.210.0100.02716.22
5.6.200.0040.03415.64
5.6.190.0090.01816.26
5.6.180.0140.03116.28
5.6.170.0090.01916.50
5.6.160.0030.03616.39
5.6.150.0090.01815.58
5.6.140.0080.02815.38
5.6.130.0080.02915.48
5.6.120.0090.01716.38
5.6.110.0080.03016.49
5.6.100.0030.03216.52
5.6.90.0080.03016.54
5.6.80.0090.02916.18
5.6.70.0070.00613.98
5.6.60.0050.00714.22
5.6.50.0050.00513.85
5.6.40.0040.00714.22
5.6.30.0050.00914.23
5.6.20.0060.00714.00
5.6.10.0050.00514.23
5.6.00.0050.00914.27
5.5.380.0040.00912.63
5.5.370.0090.00512.46
5.5.360.0050.00712.52
5.5.350.0120.01815.09
5.5.340.0040.02714.40
5.5.330.0050.01615.06
5.5.320.0130.02015.19
5.5.310.0110.01715.18
5.5.300.0030.02614.46
5.5.290.0070.03014.36
5.5.280.0040.01715.31
5.5.270.0080.02815.47
5.5.260.0060.03015.36
5.5.250.0040.02815.13
5.5.240.0090.02915.14
5.5.230.0060.00512.61
5.5.220.0050.00712.64
5.5.210.0060.00612.55
5.5.200.0050.00712.51
5.5.190.0060.00412.71
5.5.180.0040.00612.52
5.5.170.0040.00512.45
5.5.160.0080.00612.50
5.5.150.0050.00612.54
5.5.140.0030.00712.44
5.5.130.0100.00512.61
5.5.120.0030.01012.69
5.5.110.0080.00312.69
5.5.100.0070.00512.37
5.5.90.0070.00412.72
5.5.80.0040.00812.38
5.5.70.0040.00712.66
5.5.60.0050.00412.24
5.5.50.0030.00712.59
5.5.40.0070.00512.53
5.5.30.0030.00712.50
5.5.20.0050.00812.55
5.5.10.0080.00412.62
5.5.00.0070.00512.40
5.4.450.0020.02114.33
5.4.440.0070.01514.34
5.4.430.0050.03014.26
5.4.420.0060.03014.39
5.4.410.0040.01914.36
5.4.400.0040.02114.11
5.4.390.0070.02714.14
5.4.380.0050.02514.15
5.4.370.0030.01814.25
5.4.360.0060.02814.15
5.4.350.0040.02414.25
5.4.340.0030.02414.18
5.4.330.0020.00711.74
5.4.320.0070.02614.05
5.4.310.0020.03114.11
5.4.300.0070.02914.16
5.4.290.0090.02814.24
5.4.280.0060.02614.13
5.4.270.0100.02614.22
5.4.260.0050.02414.25
5.4.250.0070.01314.15
5.4.240.0060.02614.16
5.4.230.0020.02214.27
5.4.220.0070.02214.12
5.4.210.0070.02714.17
5.4.200.0060.02014.08
5.4.190.0080.01614.15
5.4.180.0070.01614.30
5.4.170.0040.02814.01
5.4.160.0030.02814.21
5.4.150.0060.02914.19
5.4.140.0060.02013.17
5.4.130.0040.02413.34
5.4.120.0060.02013.24
5.4.110.0050.02813.28
5.4.100.0080.01513.27
5.4.90.0070.02713.19
5.4.80.0050.02713.28
5.4.70.0120.02113.31
5.4.60.0050.02013.29
5.4.50.0010.02013.30
5.4.40.0050.01913.27
5.4.30.0030.02913.33
5.4.20.0030.03013.33
5.4.10.0040.02613.35
5.4.00.0030.02313.14
5.3.290.0080.02112.68
5.3.280.0030.02012.52
5.3.270.0050.01412.60
5.3.260.0070.02712.55
5.3.250.0040.01912.54
5.3.240.0050.01812.54
5.3.230.0030.02912.55
5.3.220.0050.02112.60
5.3.210.0080.01412.55
5.3.200.0040.02812.56
5.3.190.0050.02512.58
5.3.180.0070.02712.57
5.3.170.0040.02312.60
5.3.160.0050.01912.69
5.3.150.0090.02412.56
5.3.140.0050.01712.64
5.3.130.0040.02012.57
5.3.120.0040.01612.44
5.3.110.0070.02712.61
5.3.100.0080.02412.38
5.3.90.0020.02712.42
5.3.80.0020.02012.32
5.3.70.0010.02112.36
5.3.60.0030.01712.35
5.3.50.0050.01212.34
5.3.40.0030.03112.36
5.3.30.0050.02412.31
5.3.20.0020.01812.18
5.3.10.0070.01712.19
5.3.00.0040.02112.11
5.2.170.0020.02010.34
5.2.160.0070.03210.32
5.2.150.0000.03710.37
5.2.140.0020.02210.30
5.2.130.0020.02010.36
5.2.120.0050.03110.42
5.2.110.0020.02710.18
5.2.100.0020.03410.25
5.2.90.0050.02910.28
5.2.80.0020.03610.27
5.2.70.0030.02510.31
5.2.60.0000.03010.23
5.2.50.0030.03310.09
5.2.40.0050.02610.24
5.2.30.0050.02110.06
5.2.20.0020.02310.01
5.2.10.0120.01710.15
5.2.00.0080.02910.06
5.1.60.0020.0299.60
5.1.50.0030.0189.59
5.1.40.0040.0279.54
5.1.30.0030.0249.76
5.1.20.0000.0219.66
5.1.10.0050.0289.55
5.1.00.0030.0299.55
5.0.50.0030.0208.81
5.0.40.0030.0238.70
5.0.30.0020.0358.63
5.0.20.0020.0168.64
5.0.10.0030.0208.64
5.0.00.0050.0358.62
4.4.90.0000.0218.47
4.4.80.0020.0228.47
4.4.70.0050.0198.47
4.4.60.0020.0188.47
4.4.50.0020.0178.47
4.4.40.0030.0288.47
4.4.30.0040.0208.47
4.4.20.0030.0108.47
4.4.10.0040.0208.47
4.4.00.0010.0318.47
4.3.110.0030.0158.47
4.3.100.0040.0148.47
4.3.90.0060.0158.47
4.3.80.0030.0258.47
4.3.70.0000.0128.47
4.3.60.0000.0218.47
4.3.50.0020.0128.47
4.3.40.0000.0328.47
4.3.30.0000.0188.47
4.3.20.0020.0208.47
4.3.10.0000.0228.47
4.3.00.0030.0138.47

preferences:
41.07 ms | 401 KiB | 5 Q