3v4l.org

run code in 300+ PHP versions simultaneously
<?php $username = 'skope'; $timestamp = microtime(); $hash = sha1(implode([$username, $timestamp]), true); var_dump($hash); var_dump(strlen($hash));

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.00.0100.01015.14
7.3.120.0060.00914.66
7.3.110.0060.01314.63
7.3.100.0040.01214.54
7.3.90.0040.01114.97
7.3.80.0060.00914.90
7.3.70.0120.00314.75
7.3.60.0090.00614.88
7.3.50.0030.01014.90
7.3.40.0000.01114.83
7.3.30.0140.00014.63
7.3.20.0040.00416.54
7.3.10.0100.00516.69
7.3.00.0040.00716.60
7.2.250.0030.01214.79
7.2.240.0070.01114.59
7.2.230.0160.00014.83
7.2.220.0060.00915.12
7.2.210.0150.00314.96
7.2.200.0110.00714.89
7.2.190.0100.00715.20
7.2.180.0070.00714.65
7.2.170.0040.00714.93
7.2.160.0060.00614.84
7.2.150.0090.00616.67
7.2.140.0040.01116.64
7.2.130.0050.00816.84
7.2.120.0060.00816.70
7.2.110.0060.00616.68
7.2.100.0050.00816.89
7.2.90.0040.00916.94
7.2.80.0070.00616.75
7.2.70.0040.00916.76
7.2.60.0040.00916.89
7.2.50.0060.00816.96
7.2.40.0040.01016.82
7.2.30.0040.01016.92
7.2.20.0060.00716.85
7.2.10.0050.00916.83
7.2.00.0080.00617.51
7.1.330.0100.00715.68
7.1.320.0090.00315.74
7.1.310.0100.00315.69
7.1.300.0000.01615.78
7.1.290.0030.00915.41
7.1.280.0000.01315.57
7.1.270.0060.00915.76
7.1.260.0090.00615.80
7.1.250.0040.00715.60
7.1.240.0040.00815.75
7.1.230.0060.00915.76
7.1.220.0040.00715.83
7.1.210.0000.01215.70
7.1.200.0000.01415.49
7.1.190.0030.01315.80
7.1.180.0090.00615.51
7.1.170.0060.00915.45
7.1.160.0100.00315.68
7.1.150.0000.01115.88
7.1.140.0060.00615.71
7.1.130.0110.00415.70
7.1.120.0130.00315.79
7.1.110.0080.00415.66
7.1.100.0090.00015.94
7.1.90.0080.00815.59
7.1.80.0090.00615.55
7.1.70.0060.00516.41
7.1.60.0070.01217.63
7.1.50.0150.00716.44
7.1.40.0100.00715.62
7.1.30.0040.01515.59
7.1.20.0060.01315.48
7.1.10.0030.00615.82
7.1.00.0080.03819.03
7.0.330.0100.00314.85
7.0.320.0030.01015.43
7.0.310.0040.01115.27
7.0.300.0070.00415.34
7.0.290.0060.00915.19
7.0.280.0070.00715.23
7.0.270.0030.00915.02
7.0.260.0120.00314.95
7.0.250.0110.00415.39
7.0.240.0100.00315.48
7.0.230.0120.00315.34
7.0.220.0060.01015.41
7.0.210.0030.01115.17
7.0.200.0030.00715.83
7.0.190.0040.00415.13
7.0.180.0000.01015.22
7.0.170.0040.01115.08
7.0.160.0070.00714.95
7.0.150.0060.00915.46
7.0.140.0030.01015.46
7.0.130.0060.00615.23
7.0.120.0030.00615.19
7.0.110.0030.00815.30
7.0.100.0110.00415.31
7.0.90.0090.00615.38
7.0.80.0030.00915.27
7.0.70.0000.01415.47
7.0.60.0050.04817.66
7.0.50.0080.03816.58
7.0.40.0030.03216.67
7.0.30.0130.02716.81
7.0.20.0250.03316.78
7.0.10.0090.02516.74
7.0.00.0140.03716.79
5.6.400.0060.00613.99
5.6.390.0060.00914.32
5.6.380.0000.00913.90
5.6.370.0040.00413.89
5.6.360.0030.01013.72
5.6.350.0030.00913.81
5.6.340.0000.01414.35
5.6.330.0080.00614.06
5.6.320.0060.00614.15
5.6.310.0000.01313.91
5.6.300.0090.00614.22
5.6.290.0090.00314.32
5.6.280.0020.04017.71
5.6.270.0040.01114.12
5.6.260.0070.00714.23
5.6.250.0040.01113.98
5.6.240.0000.01213.86
5.6.230.0030.00913.96
5.6.220.0060.00613.92
5.6.210.0050.02817.35
5.6.200.0090.04116.07
5.6.190.0080.03817.30
5.6.180.0100.02517.21
5.6.170.0150.03817.18
5.6.160.0080.04417.29
5.6.150.0080.04515.96
5.6.140.0080.02816.10
5.6.130.0070.02216.24
5.6.120.0050.02717.39
5.6.110.0100.04317.54
5.6.100.0080.04217.68
5.6.90.0070.04217.52
5.6.80.0040.03217.08
5.6.70.0000.00913.95
5.6.60.0090.00614.13
5.6.50.0040.00514.02
5.6.40.0070.00713.84
5.6.30.0040.01113.93
5.6.20.0090.00613.88
5.6.10.0030.01013.70
5.6.00.0040.01114.04
5.5.380.0000.00913.98
5.5.370.0030.01214.16
5.5.360.0000.01013.82
5.5.350.0160.03817.17
5.5.340.0070.04415.85
5.5.330.0120.03516.98
5.5.320.0170.02717.22
5.5.310.0180.04417.13
5.5.300.0020.02815.85
5.5.290.0110.04515.91
5.5.280.0020.03517.39
5.5.270.0060.02117.29
5.5.260.0050.02417.43
5.5.250.0030.04417.36
5.5.240.0130.04417.11
5.5.230.0040.01114.02
5.5.220.0030.01413.54
5.5.210.0000.01713.86
5.5.200.0080.00613.97
5.5.190.0000.01613.98
5.5.180.0030.01014.15
5.5.170.0050.00514.04
5.5.160.0030.01013.73
5.5.150.0030.01013.92
5.5.140.0060.00614.00
5.5.130.0070.00713.70
5.5.120.0000.01713.91
5.5.110.0070.00713.88
5.5.100.0040.01113.99
5.5.90.0060.00613.95
5.5.80.0000.01314.19
5.5.70.0030.01013.63
5.5.60.0040.00413.84
5.5.50.0030.00713.84
5.5.40.0030.00614.03
5.5.30.0040.01114.03
5.5.20.0100.00714.00
5.5.10.0070.00714.03
5.5.00.0070.00713.87

preferences:
41.87 ms | 401 KiB | 5 Q