3v4l.org

run code in 300+ PHP versions simultaneously
<?php $passwordHasher = new SimplePasswordHasher(array('hashType' => 'sha1')); $this->data[$this->alias]['password'] = $passwordHasher->hash( $this->data[$this->alias]['password'] );

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.00716.63
8.3.50.0110.00817.32
8.3.40.0150.00018.83
8.3.30.0110.00418.70
8.3.20.0040.00418.75
8.3.10.0040.00420.66
8.3.00.0160.00417.50
8.2.180.0120.00316.88
8.2.170.0150.00022.96
8.2.160.0110.00422.13
8.2.150.0060.00324.18
8.2.140.0050.00224.66
8.2.130.0040.00426.16
8.2.120.0070.00019.64
8.2.110.0030.00720.89
8.2.100.0060.00617.72
8.2.90.0030.00619.05
8.2.80.0090.00017.97
8.2.70.0040.00417.61
8.2.60.0080.00017.93
8.2.50.0030.00618.07
8.2.40.0050.00218.09
8.2.30.0070.00018.01
8.2.20.0040.00417.64
8.2.10.0040.00417.58
8.2.00.0000.00717.56
8.1.280.0110.00725.92
8.1.270.0040.00424.66
8.1.260.0000.00726.35
8.1.250.0000.00728.09
8.1.240.0030.00722.33
8.1.230.0040.00720.97
8.1.220.0030.00518.77
8.1.210.0050.00418.81
8.1.200.0000.01017.23
8.1.190.0040.00417.53
8.1.180.0030.00618.10
8.1.170.0040.00418.79
8.1.160.0000.00718.82
8.1.150.0040.00418.57
8.1.140.0040.00417.18
8.1.130.0030.00517.68
8.1.120.0070.00017.36
8.1.110.0000.00717.33
8.1.100.0030.00317.35
8.1.90.0040.00417.23
8.1.80.0000.00717.32
8.1.70.0030.00317.29
8.1.60.0080.00017.48
8.1.50.0070.00017.39
8.1.40.0000.00817.39
8.1.30.0060.00317.51
8.1.20.0000.00817.57
8.1.10.0070.00017.42
8.1.00.0070.00017.35
8.0.300.0070.00319.81
8.0.290.0040.00416.75
8.0.280.0030.00318.37
8.0.270.0000.00717.19
8.0.260.0000.00816.87
8.0.250.0000.00716.95
8.0.240.0030.00616.84
8.0.230.0080.00016.99
8.0.220.0030.00316.88
8.0.210.0040.00416.77
8.0.200.0050.00516.84
8.0.190.0000.00716.98
8.0.180.0000.00716.94
8.0.170.0000.00816.82
8.0.160.0000.00816.88
8.0.150.0040.00416.89
8.0.140.0000.01216.81
8.0.130.0030.00313.29
8.0.120.0040.00416.72
8.0.110.0000.00816.78
8.0.100.0000.00716.92
8.0.90.0040.00416.96
8.0.80.0140.00316.95
8.0.70.0040.00416.76
8.0.60.0050.00316.87
8.0.50.0000.00716.92
8.0.30.0050.01517.00
8.0.20.0100.01016.95
8.0.10.0020.00517.02
8.0.00.0070.01116.52
7.4.330.0050.00012.86
7.4.320.0030.00316.53
7.4.300.0000.00716.37
7.4.290.0030.00316.37
7.4.280.0090.00016.53
7.4.270.0000.00616.47
7.4.260.0030.00313.17
7.4.250.0040.00416.43
7.4.240.0000.00716.46
7.4.230.0000.00616.41
7.4.220.0130.00316.48
7.4.210.0070.00916.44
7.4.200.0000.00716.42
7.4.190.0000.00716.48
7.4.160.0090.00916.41
7.4.150.0070.01616.55
7.4.140.0080.01116.46
7.4.130.0120.00616.43
7.4.120.0080.00916.49
7.4.110.0130.00316.55
7.4.100.0060.01116.62
7.4.90.0120.00616.39
7.4.80.0070.01016.32
7.4.70.0100.01316.34
7.4.60.0030.01316.38
7.4.50.0040.00416.54
7.4.40.0030.00916.43
7.4.30.0090.00816.59
7.4.00.0030.01514.93
7.3.330.0060.00013.14
7.3.320.0000.00613.21
7.3.310.0040.00416.32
7.3.300.0020.00516.29
7.3.290.0120.00316.32
7.3.280.0070.01116.30
7.3.270.0100.00716.34
7.3.260.0130.00716.42
7.3.250.0090.01116.36
7.3.240.0140.00616.40
7.3.230.0120.00916.26
7.3.210.0000.01716.30
7.3.200.0110.01119.39
7.3.190.0160.00616.24
7.3.180.0070.00716.42
7.3.170.0000.01616.32
7.3.160.0060.01016.48
7.3.120.0040.01114.66
7.3.10.0110.00016.25
7.3.00.0040.01316.58
7.2.330.0110.00616.58
7.2.320.0060.01016.47
7.2.310.0060.01216.16
7.2.300.0040.01216.48
7.2.290.0130.00316.52
7.2.130.0100.01316.67
7.2.120.0100.01016.64
7.2.110.0140.00316.83
7.2.100.0040.00716.76
7.2.90.0130.00816.68
7.2.80.0070.00716.70
7.2.70.0090.01216.50
7.2.60.0170.00516.40
7.2.50.0040.01616.60
7.2.40.0110.00516.47
7.2.30.0090.00916.82
7.2.20.0040.01316.61
7.2.10.0160.00316.73
7.2.00.0000.01116.91
7.1.250.0070.00715.61
7.1.200.0070.00715.55
7.1.70.0060.00917.00
7.1.60.0070.01519.40
7.1.50.0060.00816.85
7.1.00.0100.05022.37
7.0.200.0080.00316.70
7.0.140.0170.05722.04
7.0.120.0070.06022.04
7.0.60.0030.08319.78
7.0.50.0030.04317.81
7.0.40.0130.05317.72
7.0.30.0100.05317.68
7.0.20.0030.08317.69
7.0.10.0030.04317.69
7.0.00.0070.07317.77
5.6.280.0100.06720.98
5.6.210.0170.07020.54
5.6.200.0000.04318.21
5.6.190.0000.06718.09
5.6.180.0130.07318.09
5.6.170.0070.07318.21
5.6.160.0030.07018.18
5.6.150.0070.08318.09
5.6.140.0100.03318.22
5.6.130.0130.06718.10
5.6.120.0070.08318.17
5.6.110.0070.08018.11
5.6.100.0100.07018.21
5.6.90.0070.06318.07
5.6.80.0100.04717.50
5.6.70.0030.08717.60
5.6.60.0070.07717.55
5.6.50.0100.04017.46
5.6.40.0070.07317.57
5.6.30.0030.05017.48
5.6.20.0000.07717.54
5.6.10.0070.06717.44
5.6.00.0170.07017.42
5.5.350.0270.07020.35
5.5.340.0000.07018.02
5.5.330.0100.07317.93
5.5.320.0070.04717.97
5.5.310.0000.06018.01
5.5.300.0070.06017.91
5.5.290.0070.05317.85
5.5.280.0070.05717.91
5.5.270.0130.05017.91
5.5.260.0030.08317.99
5.5.250.0030.08317.72
5.5.240.0130.06317.38
5.5.230.0000.08317.32
5.5.220.0070.03717.38
5.5.210.0130.07317.32
5.5.200.0130.06717.34
5.5.190.0100.06717.27
5.5.180.0130.04717.33
5.5.160.0030.06717.27
5.5.150.0070.07317.35
5.5.140.0130.07317.32
5.5.130.0030.04017.31
5.5.120.0030.04317.33
5.5.110.0030.06717.30
5.5.100.0100.03317.23
5.5.90.0300.03317.17
5.5.80.0030.03717.16
5.5.70.0100.07317.22
5.5.60.0130.07017.24
5.5.50.0070.07317.27
5.5.40.0030.06717.12
5.5.30.0130.06717.25
5.5.20.0100.07317.20
5.5.10.0100.04717.16
5.5.00.0070.05317.21
5.4.450.0130.07019.31
5.4.440.0030.08719.45
5.4.430.0070.07319.27
5.4.420.0100.06719.30
5.4.410.0030.04719.22
5.4.400.0070.07718.99
5.4.390.0230.03018.82
5.4.380.0070.06718.95
5.4.370.0070.04719.12
5.4.360.0170.06718.95
5.4.350.0030.08319.12
5.4.340.0130.03719.12
5.4.320.0200.06719.13
5.4.310.0100.05319.13
5.4.300.0070.03719.04
5.4.290.0030.05018.97
5.4.280.0030.06018.98
5.4.270.0100.05718.95
5.4.260.0070.03719.09
5.4.250.0170.07019.09
5.4.240.0070.03719.02
5.4.230.0100.07718.87
5.4.220.0100.07719.02
5.4.210.0170.07018.97
5.4.200.0030.05019.00
5.4.190.0100.05718.96
5.4.180.0070.06719.02
5.4.170.0070.06718.93
5.4.160.0100.04718.96
5.4.150.0070.08019.11
5.4.140.0100.06716.18
5.4.130.0030.06316.28
5.4.120.0070.07316.17
5.4.110.0000.06316.16
5.4.100.0030.07716.29
5.4.90.0100.06716.38
5.4.80.0130.07016.31
5.4.70.0030.03716.28
5.4.60.0070.04016.22
5.4.50.0070.07716.34
5.4.40.0170.06016.39
5.4.30.0100.06716.26
5.4.20.0030.05016.35
5.4.10.0170.06316.25
5.4.00.0130.03715.76
5.3.290.0030.06314.50
5.3.280.0030.07714.55
5.3.270.0070.07014.54
5.3.260.0100.06314.54
5.3.250.0130.07014.56
5.3.240.0070.04714.53
5.3.230.0030.08014.56
5.3.220.0070.07314.52
5.3.210.0130.07014.39
5.3.200.0100.07014.42
5.3.190.0070.08014.50
5.3.180.0070.07314.50
5.3.170.0070.07014.51
5.3.160.0070.04014.50
5.3.150.0070.07314.52
5.3.140.0100.05714.53
5.3.130.0070.07314.48
5.3.120.0100.07014.37
5.3.110.0100.07314.48
5.3.100.0070.03314.00
5.3.90.0100.04314.00
5.3.80.0030.03713.98
5.3.70.0070.03714.00
5.3.60.0100.07013.93
5.3.50.0100.07014.02
5.3.40.0030.07713.91
5.3.30.0070.07313.83
5.3.20.0030.07313.62
5.3.10.0130.06713.63
5.3.00.0070.06013.38
5.2.170.0030.04311.11
5.2.160.0030.06310.92
5.2.150.0000.04011.11
5.2.140.0070.06311.06
5.2.130.0030.06711.09
5.2.120.0070.06011.08
5.2.110.0030.06011.07
5.2.100.0070.04311.02
5.2.90.0000.06310.91
5.2.80.0070.06310.98
5.2.70.0130.05711.05
5.2.60.0070.02711.03
5.2.50.0070.05711.01
5.2.40.0070.05710.82
5.2.30.0030.03710.88
5.2.20.0130.05310.85
5.2.10.0000.06710.81
5.2.00.0000.06010.70
5.1.60.0030.0309.82
5.1.50.0030.05310.06
5.1.40.0100.04710.06
5.1.30.0030.05710.36
5.1.20.0000.05310.49
5.1.10.0000.04010.12
5.1.00.0030.03310.14
5.0.50.0000.0238.73
5.0.40.0070.0338.73
5.0.30.0100.0608.73
5.0.20.0070.0308.73
5.0.10.0070.0408.73
5.0.00.0030.0678.73
4.4.90.0000.0238.73
4.4.80.0030.0278.73
4.4.70.0000.0378.73
4.4.60.0000.0378.73
4.4.50.0030.0338.73
4.4.40.0070.0278.73
4.4.30.0030.0338.73
4.4.20.0030.0338.73
4.4.10.0030.0308.73
4.4.00.0100.0478.73
4.3.110.0000.0278.73
4.3.100.0030.0338.73
4.3.90.0000.0338.73
4.3.80.0000.0578.73
4.3.70.0000.0278.73
4.3.60.0070.0138.73
4.3.50.0000.0308.73
4.3.40.0030.0408.73
4.3.30.0000.0178.73
4.3.20.0070.0338.73
4.3.10.0000.0378.73
4.3.00.0000.0338.73

preferences:
45.78 ms | 401 KiB | 5 Q