3v4l.org

run code in 300+ PHP versions simultaneously
<?php $domain = 'http://example.com'; $handle = fopen($domain, 'r'); $content = stream_get_contents($handle); fclose($handle); print $content; ?>

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.0110.01118.50
8.3.50.0150.00521.99
8.3.40.0180.00419.00
8.3.30.0070.00719.05
8.3.20.0040.00420.74
8.3.10.0050.00320.90
8.3.00.0040.00422.15
8.2.180.0070.01118.54
8.2.170.0110.00422.96
8.2.160.0100.00722.35
8.2.150.0090.00024.18
8.2.140.0090.00024.66
8.2.130.0040.00421.27
8.2.120.0000.00826.35
8.2.110.0100.00021.36
8.2.100.0110.00018.03
8.2.90.0030.00619.41
8.2.80.0000.00817.97
8.2.70.0030.00717.63
8.2.60.0060.00318.16
8.2.50.0060.00318.09
8.2.40.0040.00420.63
8.2.30.0000.00719.44
8.2.20.0080.00017.88
8.2.10.0060.00318.24
8.2.00.0040.00418.25
8.1.280.0040.01125.92
8.1.270.0120.00322.30
8.1.260.0060.00328.09
8.1.250.0000.00728.09
8.1.240.0090.00022.67
8.1.230.0100.00317.95
8.1.220.0040.00417.78
8.1.210.0000.00818.77
8.1.200.0030.00717.63
8.1.190.0000.00817.48
8.1.180.0000.00818.10
8.1.170.0000.00918.78
8.1.160.0040.00420.83
8.1.150.0050.00219.08
8.1.140.0000.00819.75
8.1.130.0070.00017.83
8.1.120.0000.00717.55
8.1.110.0060.00317.51
8.1.100.0000.00817.54
8.1.90.0020.00517.50
8.1.80.0040.00417.43
8.1.70.0070.00017.50
8.1.60.0040.00417.54
8.1.50.0030.00517.55
8.1.40.0040.00417.67
8.1.30.0000.00817.76
8.1.20.0050.00317.74
8.1.10.0040.00417.64
8.1.00.0110.00017.64
8.0.300.0050.00218.77
8.0.290.0080.00017.00
8.0.280.0000.00718.60
8.0.270.0000.00717.41
8.0.260.0080.00017.37
8.0.250.0030.00517.16
8.0.240.0030.00517.09
8.0.230.0030.00417.16
8.0.220.0040.00417.07
8.0.210.0070.00017.18
8.0.200.0000.00717.19
8.0.190.0040.00417.02
8.0.180.0050.00216.99
8.0.170.0040.00417.06
8.0.160.0070.00017.25
8.0.150.0030.00517.12
8.0.140.0000.00817.00
8.0.130.0000.00613.63
8.0.120.0040.00417.13
8.0.110.0040.00417.05
8.0.100.0030.00517.08
8.0.90.0030.00517.13
8.0.80.0030.01217.14
8.0.70.0000.00717.09
8.0.60.0060.00317.20
8.0.50.0040.00417.17
8.0.30.0070.00817.40
8.0.20.0070.01317.42
8.0.10.0080.00017.23
8.0.00.0160.00916.89
7.4.330.0000.00517.04
7.4.320.0030.00316.57
7.4.300.0030.00316.68
7.4.290.0040.00416.64
7.4.280.0050.00216.53
7.4.270.0000.00816.57
7.4.260.0050.00216.59
7.4.250.0040.00416.70
7.4.240.0040.00416.66
7.4.230.0030.00316.68
7.4.220.0160.01316.68
7.4.210.0090.00616.86
7.4.200.0030.00616.72
7.4.160.0120.01216.72
7.4.150.0090.00917.40
7.4.140.0140.00617.86
7.4.130.0140.00616.68
7.4.120.0100.00916.66
7.4.110.0100.00716.70
7.4.100.0100.01316.80
7.4.90.0060.01216.81
7.4.80.0090.00919.39
7.4.70.0160.00916.89
7.4.60.0160.00316.74
7.4.50.0030.01216.46
7.4.40.0030.01516.70
7.4.30.0100.00716.75
7.4.00.0080.01015.04
7.3.330.0050.00013.29
7.3.320.0000.00613.54
7.3.310.0040.00416.54
7.3.300.0000.00716.38
7.3.290.0100.00816.58
7.3.280.0100.00716.51
7.3.270.0080.01617.40
7.3.260.0140.00316.51
7.3.250.0120.00716.54
7.3.240.0140.00316.58
7.3.230.0060.01316.62
7.3.210.0100.01416.51
7.3.200.0100.01016.67
7.3.190.0080.00816.52
7.3.180.0070.01016.54
7.3.170.0160.00316.66
7.3.160.0040.01416.63
7.3.120.0120.00715.03
7.3.110.0120.00415.03
7.3.100.0080.00815.02
7.3.90.0080.01015.14
7.3.80.0110.00414.87
7.3.70.0100.00714.87
7.3.60.0060.01015.07
7.3.50.0120.00514.99
7.3.40.0060.00815.02
7.3.30.0030.01314.92
7.3.20.0050.01216.78
7.3.10.0060.00916.89
7.3.00.0100.00416.78
7.2.330.0070.01116.73
7.2.320.0110.00816.91
7.2.310.0140.00416.80
7.2.300.0150.00316.88
7.2.290.0090.00916.79
7.2.250.0070.01015.45
7.2.240.0060.00915.27
7.2.230.0110.00715.28
7.2.220.0070.00715.16
7.2.210.0070.01015.26
7.2.200.0070.00815.20
7.2.190.0050.00615.21
7.2.180.0090.00515.08
7.2.170.0030.00915.04
7.2.160.0030.01115.14
7.2.150.0100.00616.99
7.2.140.0060.00917.18
7.2.130.0070.01017.07
7.2.120.0080.00817.17
7.2.110.0120.00317.00
7.2.100.0120.00616.87
7.2.90.0100.00317.09
7.2.80.0070.01017.29
7.2.70.0060.01017.07
7.2.60.0070.00717.13
7.2.50.0060.01317.00
7.2.40.0030.01016.75
7.2.30.0030.01517.13
7.2.20.0100.00717.11
7.2.10.0130.00316.98
7.2.00.0280.00518.19
7.1.330.0020.01416.15
7.1.320.0060.00815.94
7.1.310.0070.00715.83
7.1.300.0080.00616.06
7.1.290.0110.00615.96
7.1.280.0080.00516.17
7.1.270.0060.00915.99
7.1.260.0080.00516.00
7.1.250.0080.00616.04
7.1.200.0100.00316.07
7.1.100.0160.00518.54
7.1.70.0040.01117.55
7.1.60.0220.00419.19
7.1.50.0040.01817.31
7.1.00.0070.07322.67
7.0.200.0040.00815.00
7.0.60.0100.05322.25
7.0.50.0070.03718.08
7.0.40.0070.08720.57
7.0.30.0330.07320.60
7.0.20.0230.08320.50
7.0.10.0030.04720.46
7.0.00.0070.08720.54
5.6.280.0130.05321.40
5.6.210.0130.08320.85
5.6.200.0100.03718.48
5.6.190.0100.04721.13
5.6.180.0370.07721.00
5.6.170.0200.03320.83
5.6.160.0130.06720.80
5.6.150.0100.08318.74
5.6.140.0100.04018.47
5.6.130.0130.08018.56
5.6.120.0170.04721.42
5.6.110.0100.07721.33
5.6.100.0130.04721.41
5.6.90.0100.06021.18
5.6.80.0100.07720.63
5.5.350.0330.07320.77
5.5.340.0100.08718.40
5.5.330.0000.04720.90
5.5.320.0630.05020.63
5.5.310.0270.06320.66
5.5.300.0070.05018.37
5.5.290.0130.08018.54
5.5.280.0030.07721.24
5.5.270.0070.07321.15
5.5.260.0200.03021.07
5.5.250.0100.06720.84
5.5.240.0130.07020.58

preferences:
61.35 ms | 401 KiB | 5 Q