3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sha1file = sha1_file("http://w3schools.com/.."); echo $sha1file;

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.40.0120.00418.80
8.3.30.0090.00618.72
8.3.20.0080.00020.71
8.3.10.0000.00823.89
8.3.00.0080.00019.52
8.2.170.0110.00422.96
8.2.160.0110.00720.63
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0060.00317.62
8.2.120.0040.00426.35
8.2.110.0100.01019.46
8.2.100.0080.00418.16
8.2.90.0060.00317.88
8.2.80.0090.00017.97
8.2.70.0080.00018.05
8.2.60.0000.00818.26
8.2.50.0000.00818.10
8.2.40.0030.00619.44
8.2.30.0030.00620.69
8.2.20.0030.00517.88
8.2.10.0080.00018.27
8.2.00.0070.00318.18
8.1.270.0050.00323.99
8.1.260.0000.00828.09
8.1.250.0040.00428.09
8.1.240.0060.00322.29
8.1.230.0040.00719.27
8.1.220.0050.00317.90
8.1.210.0060.00318.77
8.1.200.0100.00017.47
8.1.190.0030.00617.13
8.1.180.0000.00918.10
8.1.170.0000.00818.71
8.1.160.0080.00022.18
8.1.150.0070.00019.01
8.1.140.0040.00419.71
8.1.130.0000.00717.73
8.1.120.0000.00717.54
8.1.110.0030.00617.49
8.1.100.0000.00817.64
8.1.90.0030.00517.62
8.1.80.0080.00017.48
8.1.70.0030.00517.48
8.1.60.0080.00017.67
8.1.50.0080.00017.58
8.1.40.0000.00817.57
8.1.30.0090.00017.73
8.1.20.0060.00317.64
8.1.10.0000.00817.62
8.1.00.0030.00517.55
8.0.300.0000.00720.20
8.0.290.0040.00417.00
8.0.280.0070.00018.66
8.0.270.0030.00317.42
8.0.260.0000.00817.41
8.0.250.0000.00717.13
8.0.240.0050.00217.11
8.0.230.0000.00717.07
8.0.220.0040.00416.93
8.0.210.0070.00017.02
8.0.200.0040.00416.96
8.0.190.0070.00017.06
8.0.180.0040.00416.96
8.0.170.0040.00417.03
8.0.160.0000.00717.07
8.0.150.0030.00517.02
8.0.140.0040.00417.00
8.0.130.0000.00513.56
8.0.120.0080.00017.11
8.0.110.0040.00417.13
8.0.100.0080.00017.07
8.0.90.0040.00417.09
8.0.80.0070.01317.07
8.0.70.0080.00017.01
8.0.60.0000.00716.98
8.0.50.0080.00016.93
8.0.30.0170.00317.42
8.0.20.0130.00917.49
8.0.10.0080.00017.07
8.0.00.0090.01416.94
7.4.330.0020.00217.05
7.4.320.0030.00316.69
7.4.300.0030.00316.56
7.4.290.0030.00316.59
7.4.280.0030.00616.59
7.4.270.0030.00316.46
7.4.260.0030.00316.57
7.4.250.0070.00016.73
7.4.240.0020.00516.72
7.4.230.0000.00716.74
7.4.220.0120.01016.79
7.4.210.0060.00916.71
7.4.200.0040.00416.69
7.4.160.0130.00316.63
7.4.150.0110.00717.40
7.4.140.0240.01517.86
7.4.130.0070.01016.71
7.4.120.0110.00716.68
7.4.110.0050.01416.71
7.4.100.0120.00616.85
7.4.90.0110.00716.77
7.4.80.0070.01419.39
7.4.70.0110.00516.66
7.4.60.0110.00616.84
7.4.50.0090.00916.62
7.4.40.0120.00916.66
7.4.30.0090.00916.62
7.4.00.0060.00915.44
7.3.330.0050.00213.51
7.3.320.0030.00313.26
7.3.310.0070.00016.35
7.3.300.0000.00816.46
7.3.290.0070.00016.45
7.3.280.0110.00816.52
7.3.270.0180.00017.40
7.3.260.0180.00016.64
7.3.250.0120.00916.59
7.3.240.0110.00816.59
7.3.230.0100.01316.53
7.3.210.0100.00716.56
7.3.200.0130.00316.55
7.3.190.0100.00716.55
7.3.180.0060.01116.57
7.3.170.0100.00716.80
7.3.160.0150.00716.56
7.2.330.0100.01016.73
7.2.320.0100.01016.83
7.2.310.0110.00716.66
7.2.300.0070.01016.79
7.2.290.0170.00016.96
7.2.60.0030.01216.95
7.2.00.0140.00319.62
7.1.200.0040.00415.64
7.1.100.0070.00318.19
7.1.70.0090.00017.50
7.1.60.0080.01219.36
7.1.50.0110.01517.30
7.1.00.0070.07322.62
7.0.200.0050.00517.09
7.0.100.0200.06320.37
7.0.90.0130.08020.41
7.0.80.0170.07320.39
7.0.70.0100.07020.14
7.0.60.0030.08320.23
7.0.50.0070.08320.53
7.0.40.0100.04720.41
7.0.30.0130.07320.60
7.0.20.0070.07720.44
7.0.10.0130.07020.50
7.0.00.0030.08720.46
5.6.280.0030.03321.44
5.6.250.0100.08320.99
5.6.240.0100.08021.18
5.6.230.0070.08321.00
5.6.220.0130.07321.15
5.6.210.0000.08720.92
5.6.200.0130.06321.45
5.6.190.0130.07721.49
5.6.180.0100.08321.49
5.6.170.0100.08021.46
5.6.160.0130.06321.19
5.6.150.0170.06721.33
5.6.140.0130.07321.38
5.6.130.0070.09021.33
5.6.120.0130.06721.47
5.6.110.0100.08021.36
5.6.100.0100.07321.48
5.6.90.0070.08321.33
5.6.80.0100.07320.86
5.6.70.0100.07320.78
5.6.60.0130.07020.72
5.6.50.0100.07020.83
5.6.40.0000.08720.70
5.6.30.0030.08320.66
5.6.20.0170.03020.84
5.6.10.0070.08020.58
5.6.00.0100.07720.75
5.5.380.0030.07020.97
5.5.370.0070.08320.73
5.5.360.0030.08720.97
5.5.350.0070.08020.75
5.5.340.0000.09021.21
5.5.330.0100.07321.28
5.5.320.0030.08321.23
5.5.310.0070.08321.27
5.5.300.0070.08021.17
5.5.290.0100.07721.18
5.5.280.0170.07321.30
5.5.270.0030.08321.01
5.5.260.0100.08321.08
5.5.250.0100.04720.85
5.5.240.0030.07020.41
5.5.230.0070.08020.59
5.5.220.0030.08020.66
5.5.210.0100.07720.65
5.5.200.0130.06720.69
5.5.190.0130.07020.65
5.5.180.0230.05020.63
5.5.160.0100.04720.45
5.5.150.0070.08020.53
5.5.140.0130.07020.52
5.5.130.0070.07720.64
5.5.120.0130.06720.39
5.5.110.0100.07320.53
5.5.100.0030.08320.57
5.5.90.0000.08320.30
5.5.80.0230.05320.45
5.5.70.0100.07320.42
5.5.60.0100.06720.50
5.5.50.0170.07020.55
5.5.40.0100.07020.53
5.5.30.0100.07320.55
5.5.20.0030.08020.49
5.5.10.0100.07720.48
5.5.00.0130.07320.28

preferences:
50.18 ms | 400 KiB | 5 Q