3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password="oliander"; $strSalt = substr(md5(uniqid(mt_rand(), true)), 0, 23); $strPassword = sha1($strSalt . $pw); echo $strPassword;

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.3.10.0120.00416.45
7.3.00.0160.00716.26
7.2.130.0070.00616.61
7.2.120.0100.00316.61
7.2.110.0090.00716.79
7.2.100.0090.00816.74
7.2.90.0050.00816.97
7.2.80.0080.00716.70
7.2.70.0090.00316.73
7.2.60.0110.00916.93
7.2.50.0090.00816.68
7.2.40.0070.01016.72
7.2.30.0080.00716.85
7.2.20.0080.00716.50
7.2.10.0130.00916.37
7.2.00.0080.00617.59
7.1.250.0100.00515.77
7.1.70.0040.00417.13
7.1.60.0160.00919.46
7.1.50.0070.00716.78
7.1.00.0000.08022.43
7.0.200.0060.00616.61
7.0.140.0030.07322.11
7.0.60.0130.04319.91
7.0.50.0030.08717.91
7.0.40.0070.08017.69
7.0.30.0070.08717.76
7.0.20.0130.06717.68
7.0.10.0070.07717.78
7.0.00.0130.07717.77
5.6.280.0000.07721.05
5.6.210.0170.07020.54
5.6.200.0030.04718.12
5.6.190.0100.05018.17
5.6.180.0070.08018.18
5.6.170.0100.07718.23
5.6.160.0100.07318.21
5.6.150.0030.08318.19
5.6.140.0070.04018.11
5.6.130.0100.08318.22
5.6.120.0100.07718.22
5.6.110.0130.07318.11
5.6.100.0070.07018.25
5.6.90.0070.05718.07
5.6.80.0200.06717.59
5.6.70.0100.07017.59
5.6.60.0030.08317.55
5.6.50.0070.08017.56
5.6.40.0070.07717.57
5.6.30.0070.07717.54
5.6.20.0070.05017.48
5.6.10.0070.07717.54
5.6.00.0070.05017.46
5.5.350.0230.07020.45
5.5.340.0070.08317.88
5.5.330.0030.05317.95
5.5.320.0100.08017.90
5.5.310.0070.07017.98
5.5.300.0130.07717.91
5.5.290.0070.06017.92
5.5.280.0100.04017.95
5.5.270.0000.06017.88
5.5.260.0100.07717.94
5.5.250.0100.06317.72
5.5.240.0100.07017.27
5.5.230.0030.05017.32
5.5.220.0100.06017.39
5.5.210.0130.07717.38
5.5.200.0070.07717.37
5.5.190.0030.06717.36
5.5.180.0070.07317.26
5.5.160.0100.08017.35
5.5.150.0070.06017.36
5.5.140.0070.07317.27
5.5.130.0170.06717.26
5.5.120.0070.05017.35
5.5.110.0130.05317.29
5.5.100.0130.03017.24
5.5.90.0100.08017.20
5.5.80.0130.06017.13
5.5.70.0130.04317.26
5.5.60.0130.04717.16
5.5.50.0070.06717.20
5.5.40.0000.06017.15
5.5.30.0070.07717.12
5.5.20.0170.06317.25
5.5.10.0130.07717.16
5.5.00.0030.07717.21
5.4.450.0100.05019.54
5.4.440.0030.06319.30
5.4.430.0070.08319.33
5.4.420.0130.07719.54
5.4.410.0070.08019.18
5.4.400.0130.07318.96
5.4.390.0100.03719.11
5.4.380.0100.04718.98
5.4.370.0070.06318.98
5.4.360.0070.05718.98
5.4.350.0000.08318.96
5.4.340.0030.05719.01
5.4.320.0070.08018.95
5.4.310.0030.08018.89
5.4.300.0030.07318.88
5.4.290.0070.07718.96
5.4.280.0070.08018.96
5.4.270.0130.06019.07
5.4.260.0100.06019.07
5.4.250.0200.05719.04
5.4.240.0100.07318.94
5.4.230.0070.04019.07
5.4.220.0100.07318.98
5.4.210.0070.08018.95
5.4.200.0130.04719.02
5.4.190.0070.07319.00
5.4.180.0130.05718.97
5.4.170.0030.06718.88
5.4.160.0070.07719.19
5.4.150.0130.06019.11
5.4.140.0070.03716.49
5.4.130.0030.07316.26
5.4.120.0030.05716.33
5.4.110.0070.05316.52
5.4.100.0100.07016.25
5.4.90.0030.04016.39
5.4.80.0100.06316.34
5.4.70.0130.06016.51
5.4.60.0130.06316.25
5.4.50.0100.07316.38
5.4.40.0070.05316.32
5.4.30.0100.07316.33
5.4.20.0100.07016.14
5.4.10.0070.05716.25
5.4.00.0030.03715.79
5.3.290.0070.06714.58
5.3.280.0000.08014.54
5.3.270.0000.08314.55
5.3.260.0030.07714.43
5.3.250.0030.04314.68
5.3.240.0030.03714.57
5.3.230.0100.05014.54
5.3.220.0030.07714.64
5.3.210.0100.07714.55
5.3.200.0130.06714.55
5.3.190.0130.03014.53
5.3.180.0170.07014.52
5.3.170.0100.04714.34
5.3.160.0100.03714.48
5.3.150.0070.04714.42
5.3.140.0030.07714.53
5.3.130.0100.07014.42
5.3.120.0070.06714.53
5.3.110.0130.04314.63
5.3.100.0030.03713.86
5.3.90.0070.05013.79
5.3.80.0030.05013.86
5.3.70.0070.06713.77
5.3.60.0030.04013.96
5.3.50.0070.03713.72
5.3.40.0130.05313.88
5.3.30.0030.05713.73
5.3.20.0070.07013.77
5.3.10.0130.03013.41
5.3.00.0000.05013.59
5.2.170.0030.03711.14
5.2.160.0000.04711.12
5.2.150.0000.06310.92
5.2.140.0000.04311.11
5.2.130.0100.04310.93
5.2.120.0070.06310.88
5.2.110.0030.06310.99
5.2.100.0000.03311.07
5.2.90.0000.04010.93
5.2.80.0070.06311.06
5.2.70.0030.06711.08
5.2.60.0030.06710.88
5.2.50.0070.03011.16
5.2.40.0070.02310.98
5.2.30.0070.05010.93
5.2.20.0100.05710.85
5.2.10.0000.06310.80
5.2.00.0000.06710.80
5.1.60.0070.05310.12
5.1.50.0030.0279.97
5.1.40.0070.0209.86
5.1.30.0030.02710.34
5.1.20.0100.04310.55
5.1.10.0000.06310.17
5.1.00.0170.04310.04
5.0.50.0000.0438.58
5.0.40.0000.0478.50
5.0.30.0000.0378.11
5.0.20.0100.0238.29
5.0.10.0100.0338.16
5.0.00.0000.0338.23
4.4.90.0030.0237.73
4.4.80.0070.0177.73
4.4.70.0000.0277.73
4.4.60.0000.0377.73
4.4.50.0030.0377.73
4.4.40.0030.0577.73
4.4.30.0030.0137.73
4.4.20.0030.0377.73
4.4.10.0000.0407.73
4.4.00.0030.0577.73
4.3.110.0030.0207.73
4.3.100.0070.0137.73
4.3.90.0030.0307.73
4.3.80.0000.0277.73
4.3.70.0000.0177.73
4.3.60.0030.0337.73
4.3.50.0030.0207.73
4.3.40.0100.0437.73
4.3.30.0000.0377.73
4.3.20.0000.0377.73
4.3.10.0000.0307.73
4.3.00.0000.0337.73

preferences:
35.93 ms | 401 KiB | 5 Q