3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hash = "{SSHA}j/r2/pEsrmd2fQUkcJ2wDkqhrK9hLmNvbDIxMDY="; $password = "&'(-_)=~#{[|`\^@]}"; $salt = substr(base64_decode(substr($hash,6)),20); echo $salt."\n"; $encrypted_password = '{SSHA}' . base64_encode(sha1( $password.$salt, TRUE ). $salt); echo $encrypted_password."\n";

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.0150.00616.24
8.3.50.0090.01421.21
8.3.40.0040.01118.63
8.3.30.0110.00418.54
8.3.20.0130.00720.16
8.3.10.0050.00323.78
8.3.00.0090.00023.48
8.2.180.0100.00718.16
8.2.170.0140.00722.96
8.2.160.0000.01320.55
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0090.00021.12
8.2.120.0040.00426.35
8.2.110.0050.00521.12
8.2.100.0060.00617.93
8.2.90.0050.00319.17
8.2.80.0000.00817.97
8.2.70.0030.00617.63
8.2.60.0040.00418.03
8.2.50.0050.00318.09
8.2.40.0060.00320.55
8.2.30.0060.00319.30
8.2.20.0000.00717.55
8.2.10.0050.00318.16
8.2.00.0000.00718.11
8.1.280.0040.01125.92
8.1.270.0040.00422.06
8.1.260.0030.00528.09
8.1.250.0000.00728.09
8.1.240.0060.00322.30
8.1.230.0070.00417.70
8.1.220.0040.00417.75
8.1.210.0090.00018.77
8.1.200.0060.00317.23
8.1.190.0080.00017.35
8.1.180.0060.00318.10
8.1.170.0030.00618.34
8.1.160.0080.00020.63
8.1.150.0050.00320.59
8.1.140.0000.00819.56
8.1.130.0000.00717.73
8.1.120.0070.00017.48
8.1.110.0070.00017.40
8.1.100.0070.00317.33
8.1.90.0050.00317.46
8.1.80.0000.00717.39
8.1.70.0000.00717.45
8.1.60.0040.00417.50
8.1.50.0060.00317.48
8.1.40.0000.00717.46
8.1.30.0050.00317.53
8.1.20.0050.00217.64
8.1.10.0040.00417.41
8.1.00.0030.00517.45
8.0.300.0000.00818.77
8.0.290.0000.01016.60
8.0.280.0030.00318.30
8.0.270.0030.00317.24
8.0.260.0030.00317.23
8.0.250.0040.00416.94
8.0.240.0040.00416.80
8.0.230.0000.00716.85
8.0.220.0030.00316.93
8.0.210.0000.00716.78
8.0.200.0000.00616.85
8.0.190.0000.00816.96
8.0.180.0000.00716.84
8.0.170.0050.00316.92
8.0.160.0040.00416.95
8.0.150.0070.00016.86
8.0.140.0030.00516.80
8.0.130.0000.00713.40
8.0.120.0000.00816.88
8.0.110.0000.00816.89
8.0.100.0030.00516.84
8.0.90.0080.00016.99
8.0.80.0120.00916.86
8.0.70.0070.00016.89
8.0.60.0040.00416.70
8.0.50.0000.00716.76
8.0.30.0120.00817.03
8.0.20.0120.00917.40
8.0.10.0040.00416.79
8.0.00.0080.01216.66
7.4.330.0050.00016.83
7.4.320.0030.00316.64
7.4.300.0000.00716.54
7.4.290.0040.00416.46
7.4.280.0040.00416.34
7.4.270.0030.00316.45
7.4.260.0040.00416.39
7.4.250.0070.00016.36
7.4.240.0020.00516.58
7.4.230.0030.00316.27
7.4.220.0060.01216.51
7.4.210.0090.00816.48
7.4.200.0000.00716.55
7.4.160.0100.00716.55
7.4.150.0040.01417.40
7.4.140.0110.01217.86
7.4.130.0080.01016.40
7.4.120.0150.00716.38
7.4.110.0070.01016.48
7.4.100.0170.00016.31
7.4.90.0130.00316.50
7.4.80.0150.00319.39
7.4.70.0090.00916.46
7.4.60.0060.01016.54
7.4.50.0130.00316.25
7.4.40.0090.00616.59
7.4.30.0100.00716.46
7.4.00.0070.01014.62
7.3.330.0060.00013.05
7.3.320.0020.00213.01
7.3.310.0030.00516.25
7.3.300.0070.00016.27
7.3.290.0070.00016.20
7.3.280.0040.01316.27
7.3.270.0100.00717.40
7.3.260.0110.00616.46
7.3.250.0120.00616.45
7.3.240.0080.01116.51
7.3.230.0170.00616.39
7.3.210.0070.01016.27
7.3.200.0080.01816.20
7.3.190.0130.00916.58
7.3.180.0070.01116.54
7.3.170.0110.00516.46
7.3.160.0160.00016.60
7.2.330.0090.00916.65
7.2.320.0040.01316.48
7.2.310.0200.00616.44
7.2.300.0070.01016.70
7.2.290.0060.01016.70
7.2.60.0070.00016.74
7.2.00.0090.00319.39
7.1.200.0090.00315.84
7.1.100.0000.01018.38
7.1.70.0030.00317.15
7.1.60.0100.01319.40
7.1.50.0100.01316.91
7.1.00.0030.07722.33
7.0.200.0340.00414.88
7.0.60.0100.07321.59
7.0.50.0030.08017.88
7.0.40.0130.07320.12
7.0.30.0230.04320.13
7.0.20.0370.07319.99
7.0.10.0130.06020.33
7.0.00.0100.05319.99
5.6.280.0070.04321.07
5.6.210.0100.05020.60
5.6.200.0070.08018.21
5.6.190.0070.06320.49
5.6.180.0270.06020.27
5.6.170.0230.03320.45
5.6.160.0100.04020.54
5.6.150.0170.05718.11
5.6.140.0000.04318.13
5.6.130.0030.04018.18
5.6.120.0030.04320.98
5.6.110.0030.05021.00
5.6.100.0070.06721.13
5.6.90.0130.07321.12
5.6.80.0230.03720.36
5.5.350.0070.04020.38
5.5.340.0070.08017.91
5.5.330.0130.07320.25
5.5.320.0470.04720.32
5.5.310.0130.05020.23
5.5.300.0070.07717.96
5.5.290.0030.08717.89
5.5.280.0070.07020.76
5.5.270.0170.07320.86
5.5.260.0170.07320.88
5.5.250.0070.08020.77
5.5.240.0270.04720.15

preferences:
35.28 ms | 401 KiB | 5 Q