3v4l.org

run code in 300+ PHP versions simultaneously
<?php $email = 'peperone23@gmail.com'; $salt = 'abcdefghijklmnopqrstuvwxyz'; $base = sha1($email.$salt); $token = $base.dechex(time()); echo $token."\n"; echo sha1($email.$salt);

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.0050.01215.05
7.3.120.0070.01014.97
7.3.110.0090.00614.92
7.3.100.0050.00914.38
7.3.90.0060.00814.85
7.3.80.0080.00914.81
7.3.70.0050.00814.68
7.3.60.0050.00514.42
7.3.50.0060.00614.78
7.3.40.0080.00514.81
7.3.30.0050.00714.86
7.3.20.0020.01116.54
7.3.10.0090.00416.39
7.3.00.0060.00716.32
7.2.250.0070.01215.20
7.2.240.0060.01115.17
7.2.230.0050.01115.07
7.2.220.0100.00315.13
7.2.210.0050.01215.17
7.2.200.0060.00914.95
7.2.190.0080.00714.92
7.2.180.0030.01215.18
7.2.170.0020.01415.02
7.2.130.0080.00416.80
7.2.120.0080.01116.67
7.2.110.0150.00916.37
7.2.100.0080.01616.98
7.2.90.0080.00816.18
7.2.80.0030.01216.87
7.2.70.0060.01917.05
7.2.60.0000.01017.02
7.2.50.0090.00616.64
7.2.40.0100.00016.68
7.2.30.0150.00416.33
7.2.20.0190.00316.75
7.2.10.0000.00916.86
7.2.00.0000.01316.99
7.1.330.0040.00915.40
7.1.320.0060.00515.73
7.1.310.0010.01315.64
7.1.300.0050.00715.72
7.1.290.0050.00715.57
7.1.280.0070.00415.59
7.1.270.0060.00515.79
7.1.260.0100.00415.67
7.1.250.0000.01015.44
7.1.70.0040.00417.20
7.1.60.0120.01219.40
7.1.50.0140.01116.86
7.1.00.0070.07322.31
7.0.200.0050.00516.86
7.0.140.0030.07021.95
7.0.110.0130.08020.07
7.0.100.0100.07719.93
7.0.90.0200.07719.92
7.0.80.0070.09319.88
7.0.70.0270.07020.05
7.0.60.0030.09019.93
7.0.50.0070.08720.08
7.0.40.0070.07719.73
7.0.30.0130.06719.73
7.0.20.0270.06719.65
7.0.10.0130.05719.67
7.0.00.0130.07019.72
5.6.280.0030.07321.12
5.6.260.0100.04720.62
5.6.250.0100.08020.68
5.6.240.0000.09320.66
5.6.230.0130.07320.65
5.6.220.0070.08320.67
5.6.210.0270.05320.55
5.6.200.0070.08720.68
5.6.190.0030.09020.59
5.6.180.0100.08020.59
5.6.170.0100.08320.56
5.6.160.0070.03320.63
5.6.150.0130.07320.68
5.6.140.0070.04720.55
5.6.130.0130.07020.64
5.6.120.0130.07720.64
5.6.110.0100.08320.59
5.6.100.0070.07720.63
5.6.90.0100.08320.54
5.6.80.0170.07020.07
5.6.70.0170.07720.01
5.6.60.0030.07720.02
5.6.50.0070.05320.02
5.6.40.0000.06020.05
5.6.30.0070.03719.98
5.6.20.0030.04720.05
5.6.10.0030.04019.96
5.6.00.0070.03720.01
5.5.380.0070.07317.66
5.5.370.0100.05717.60
5.5.360.0130.07717.50
5.5.350.0030.07317.77
5.5.340.0070.06718.03
5.5.330.0030.08018.25
5.5.320.0100.07317.84
5.5.310.0170.07017.85
5.5.300.0000.08018.13
5.5.290.0000.09017.85
5.5.280.0100.07717.84
5.5.270.0100.07718.09
5.5.260.0030.09018.16
5.5.250.0130.07317.70
5.5.240.0100.07017.55
5.5.230.0130.07317.14
5.5.220.0130.07317.40
5.5.210.0030.03717.50
5.5.200.0000.04317.20
5.5.190.0070.05717.38
5.5.180.0070.04017.38
5.5.160.0030.07717.21
5.5.150.0070.05717.21
5.5.140.0000.04317.19
5.5.130.0030.03717.44
5.5.120.0030.06017.51
5.5.110.0070.06017.21
5.5.100.0030.07017.15
5.5.90.0070.03017.34
5.5.80.0070.04317.50
5.5.70.0030.03717.33
5.5.60.0070.04717.11
5.5.50.0070.03317.27
5.5.40.0000.04017.09
5.5.30.0000.04017.00
5.5.20.0030.05317.36
5.5.10.0070.03316.99
5.5.00.0100.04317.48
5.4.450.0200.07019.49
5.4.440.0170.04319.27
5.4.430.0130.07719.59
5.4.420.0000.08319.33
5.4.410.0100.07319.22
5.4.400.0100.07319.26
5.4.390.0100.06718.95
5.4.380.0100.07718.99
5.4.370.0030.04019.18
5.4.360.0070.03719.16
5.4.350.0000.04019.25
5.4.340.0130.02719.27
5.4.320.0030.04019.00
5.4.310.0030.03719.00
5.4.300.0000.04018.98
5.4.290.0100.05318.94
5.4.280.0000.04019.00
5.4.270.0130.04318.94
5.4.260.0030.04019.02
5.4.250.0030.03719.24
5.4.240.0070.04019.18
5.4.230.0000.04019.13
5.4.220.0100.07319.24
5.4.210.0070.06719.07
5.4.200.0070.03718.95
5.4.190.0070.08019.09
5.4.180.0030.03319.11
5.4.170.0000.04318.94
5.4.160.0000.05718.98
5.4.150.0030.03719.00
5.4.140.0070.03016.53
5.4.130.0030.05316.20
5.4.120.0070.04716.52
5.4.110.0030.04016.13
5.4.100.0000.06316.45
5.4.90.0000.03716.50
5.4.80.0100.06316.48
5.4.70.0000.04016.52
5.4.60.0070.03316.26
5.4.50.0000.04016.26
5.4.40.0000.03716.21
5.4.30.0030.04316.10
5.4.20.0070.03016.46
5.4.10.0100.05016.34
5.4.00.0130.04715.67
5.3.290.0100.03014.57
5.3.280.0070.04314.61
5.3.270.0030.04714.46
5.3.260.0000.04014.67
5.3.250.0000.04014.62
5.3.240.0000.04014.52
5.3.230.0000.04014.52
5.3.220.0000.03714.51
5.3.210.0030.03714.45
5.3.200.0030.03714.35
5.3.190.0030.03314.49
5.3.180.0100.05314.45
5.3.170.0100.04014.57
5.3.160.0030.03714.62
5.3.150.0000.04314.46
5.3.140.0000.04014.50
5.3.130.0000.04014.54
5.3.120.0070.05014.47
5.3.110.0100.04014.55
5.3.100.0030.03313.82
5.3.90.0000.05313.89
5.3.80.0030.08013.81
5.3.70.0030.05013.94
5.3.60.0100.07013.82
5.3.50.0100.07313.88
5.3.40.0030.05713.83
5.3.30.0100.06713.80
5.3.20.0070.07313.48
5.3.10.0030.07313.48
5.3.00.0130.06313.67
5.2.170.0000.06711.08
5.2.160.0100.05711.04
5.2.150.0070.06311.07
5.2.140.0000.07011.09
5.2.130.0030.06011.17
5.2.120.0030.04711.05
5.2.110.0070.06011.09
5.2.100.0070.06011.18
5.2.90.0100.05711.02
5.2.80.0100.04011.09
5.2.70.0000.05011.25
5.2.60.0000.05011.11
5.2.50.0000.06710.92
5.2.40.0070.03710.88
5.2.30.0000.04011.04
5.2.20.0100.05711.04
5.2.10.0030.06310.71
5.2.00.0070.06010.66
5.1.60.0070.04310.01
5.1.50.0070.05310.01
5.1.40.0030.05010.04
5.1.30.0030.03310.41
5.1.20.0100.05310.57
5.1.10.0100.05010.22
5.1.00.0070.02710.01
5.0.50.0000.05010.01
5.0.40.0030.04310.01
5.0.30.0070.05310.01
5.0.20.0030.03310.01
5.0.10.0070.02710.01
5.0.00.0030.05310.01
4.4.90.0000.04010.01
4.4.80.0030.03310.01
4.4.70.0000.03710.01
4.4.60.0070.03010.01
4.4.50.0000.03710.01
4.4.40.0000.04010.01
4.4.30.0030.03310.01
4.4.20.0100.03010.01
4.4.10.0000.03710.01
4.4.00.0030.05010.01
4.3.110.0000.03710.01
4.3.100.0000.03310.01
4.3.90.0100.02710.01
4.3.80.0000.05710.01
4.3.70.0070.02710.01
4.3.60.0030.03010.01
4.3.50.0030.03710.01
4.3.40.0030.04710.01
4.3.30.0000.03710.01
4.3.20.0030.02710.01
4.3.10.0030.03310.01
4.3.00.0030.02310.01

preferences:
43.65 ms | 401 KiB | 5 Q