3v4l.org

run code in 300+ PHP versions simultaneously
<?php $filename = 'http://example.com/'; $sha1file = sha1_file($filename); 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.60.0040.01117.00
8.3.50.0140.00521.19
8.3.40.0120.00319.09
8.3.30.0110.00418.72
8.3.20.0070.00020.62
8.3.10.0040.00424.05
8.3.00.0050.00323.93
8.2.180.0120.00318.38
8.2.170.0090.00622.96
8.2.160.0110.00720.68
8.2.150.0040.00425.66
8.2.140.0040.01224.66
8.2.130.0050.00319.95
8.2.120.0080.00026.35
8.2.110.0040.00722.38
8.2.100.0110.00018.16
8.2.90.0050.00319.46
8.2.80.0000.00818.16
8.2.70.0040.00417.75
8.2.60.0050.00317.93
8.2.50.0040.00418.07
8.2.40.0040.00422.49
8.2.30.0040.00420.68
8.2.20.0000.00817.88
8.2.10.0040.00418.25
8.2.00.0030.00618.23
8.1.280.0100.01025.92
8.1.270.0050.00322.25
8.1.260.0040.00428.09
8.1.250.0070.00028.09
8.1.240.0050.00523.86
8.1.230.0040.00719.41
8.1.220.0060.00317.91
8.1.210.0000.00818.77
8.1.200.0060.00317.48
8.1.190.0030.00517.35
8.1.180.0000.00818.10
8.1.170.0060.00318.71
8.1.160.0060.00320.83
8.1.150.0040.00418.92
8.1.140.0040.00419.71
8.1.130.0000.00717.82
8.1.120.0040.00417.38
8.1.110.0080.00017.60
8.1.100.0040.00417.63
8.1.90.0020.00517.52
8.1.80.0000.00817.53
8.1.70.0000.00717.48
8.1.60.0030.00617.75
8.1.50.0050.00317.55
8.1.40.0000.00817.57
8.1.30.0000.00817.86
8.1.20.0040.00417.75
8.1.10.0000.00817.61
8.1.00.0000.00717.57
8.0.300.0050.00218.77
8.0.290.0000.00717.00
8.0.280.0000.00818.61
8.0.270.0000.00717.35
8.0.260.0030.00317.45
8.0.250.0050.00217.21
8.0.240.0060.00317.26
8.0.230.0070.00017.16
8.0.220.0040.00417.00
8.0.210.0000.00717.00
8.0.200.0000.00617.17
8.0.190.0050.00316.95
8.0.180.0050.00217.05
8.0.170.0030.00517.05
8.0.160.0050.00217.01
8.0.150.0050.00316.98
8.0.140.0030.00316.95
8.0.130.0050.00013.56
8.0.120.0000.00817.18
8.0.110.0080.00017.07
8.0.100.0040.00417.13
8.0.90.0040.00416.96
8.0.80.0100.01317.12
8.0.70.0000.00817.04
8.0.60.0030.00516.98
8.0.50.0030.00517.05
8.0.30.0120.00717.34
8.0.20.0120.00917.40
8.0.10.0030.00617.23
8.0.00.0110.00917.07
7.4.330.0030.00317.21
7.4.320.0030.00316.56
7.4.300.0030.00316.52
7.4.290.0030.00316.65
7.4.280.0060.00616.63
7.4.270.0000.00816.66
7.4.260.0040.00416.54
7.4.250.0040.00416.73
7.4.240.0040.00416.74
7.4.230.0000.00816.65
7.4.220.0110.00816.68
7.4.210.0090.00616.80
7.4.200.0040.00416.84
7.4.160.0130.00316.71
7.4.150.0060.01517.40
7.4.140.0080.01217.86
7.4.130.0130.01116.66
7.4.120.0120.00516.64
7.4.110.0090.00916.76
7.4.100.0100.01016.67
7.4.90.0080.01116.86
7.4.80.0070.01019.39
7.4.70.0120.00616.78
7.4.60.0060.01016.67
7.4.50.0040.00716.45
7.4.40.0060.01216.70
7.4.30.0180.00016.62
7.4.00.0000.01815.16
7.3.330.0000.00613.48
7.3.320.0030.00313.31
7.3.310.0000.00816.48
7.3.300.0070.00016.34
7.3.290.0040.00416.47
7.3.280.0080.01416.50
7.3.270.0120.00617.40
7.3.260.0030.01516.75
7.3.250.0090.01216.63
7.3.240.0150.00816.52
7.3.230.0110.00816.73
7.3.210.0110.00716.82
7.3.200.0030.01419.39
7.3.190.0060.01816.73
7.3.180.0150.00616.47
7.3.170.0030.01716.65
7.3.160.0030.01516.82
7.2.330.0070.01116.61
7.2.320.0120.00616.88
7.2.310.0090.00916.97
7.2.300.0110.01316.91
7.2.290.0120.00616.52
7.2.60.0070.00717.26
7.2.00.0000.01119.43
7.1.200.0140.00016.11
7.1.100.0060.00618.50
7.1.70.0030.00617.65
7.1.60.0140.01119.20
7.1.50.0000.02517.15
7.1.00.0000.08022.62
7.0.200.0080.00316.85
7.0.60.0100.08022.23
7.0.50.0030.04018.21
7.0.40.0070.08720.56
7.0.30.0070.05020.57
7.0.20.0170.04720.42
7.0.10.0170.04720.49
7.0.00.0030.08720.52
5.6.280.0030.06021.44
5.6.210.0070.03721.04
5.6.200.0170.04018.57
5.6.190.0030.04320.94
5.6.180.0570.06721.11
5.6.170.0270.06320.82
5.6.160.0100.04020.83
5.6.150.0070.05718.66
5.6.140.0130.04718.73
5.6.130.0000.06018.46
5.6.120.0000.06321.43
5.6.110.0130.07021.24
5.6.100.0030.04721.27
5.6.90.0070.04321.36
5.6.80.0030.07020.79
5.5.350.0230.04020.73
5.5.340.0100.07718.27
5.5.330.0100.05320.94
5.5.320.0630.06720.63
5.5.310.0170.04320.66
5.5.300.0070.08018.25
5.5.290.0100.08318.25
5.5.280.0100.07721.00
5.5.270.0070.08321.28
5.5.260.0000.05021.24
5.5.250.0030.05720.90
5.5.240.0200.07320.63

preferences:
59.25 ms | 401 KiB | 5 Q