3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password = "thisismypassword"; $salt = "SaltyMotherFucker"; // Our hashing method: $hash = md5($salt . ":" . $password); echo "Our's: $hash\n"; // Hmac - sha1 $hmac = sha1($password); $hash = sha1($salt | $password); echo $salt | $password; echo "Hmac-sha1: $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)
8.3.60.0130.00718.18
8.3.50.0020.01421.92
8.3.40.0070.00718.74
8.3.30.0110.00418.54
8.3.20.0030.00518.81
8.3.10.0040.00421.02
8.3.00.0040.00421.94
8.2.180.0120.00616.32
8.2.170.0110.00422.96
8.2.160.0120.00320.41
8.2.150.0000.00924.18
8.2.140.0040.00424.66
8.2.130.0070.01026.16
8.2.120.0040.00419.36
8.2.110.0030.00720.44
8.2.100.0120.00017.65
8.2.90.0040.00419.23
8.2.80.0040.00417.97
8.2.70.0030.00617.63
8.2.60.0060.00317.93
8.2.50.0090.00018.07
8.2.40.0030.00618.22
8.2.30.0040.00421.09
8.2.20.0000.00717.53
8.2.10.0050.00217.61
8.2.00.0000.00717.66
8.1.280.0070.00725.92
8.1.270.0040.00423.99
8.1.260.0050.00326.35
8.1.250.0000.00728.09
8.1.240.0040.00422.47
8.1.230.0040.00720.91
8.1.220.0000.00918.77
8.1.210.0050.00318.82
8.1.200.0000.00917.23
8.1.190.0090.00017.40
8.1.180.0080.00018.10
8.1.170.0030.00618.66
8.1.160.0000.00718.93
8.1.150.0040.00418.54
8.1.140.0040.00417.36
8.1.130.0000.00617.86
8.1.120.0000.00717.42
8.1.110.0080.00017.46
8.1.100.0030.00317.50
8.1.90.0040.00417.41
8.1.80.0030.00317.46
8.1.70.0000.00717.35
8.1.60.0000.00817.54
8.1.50.0050.00217.34
8.1.40.0090.00017.45
8.1.30.0000.00817.52
8.1.20.0030.00517.71
8.1.10.0040.00417.39
8.1.00.0060.00317.45
8.0.300.0000.00720.04
8.0.290.0060.00317.15
8.0.280.0030.00318.43
8.0.270.0000.00717.25
8.0.260.0030.00316.76
8.0.250.0040.00416.89
8.0.240.0040.00416.93
8.0.230.0000.00716.86
8.0.220.0040.00416.86
8.0.210.0040.00416.79
8.0.200.0030.00316.84
8.0.190.0040.00416.94
8.0.180.0050.00216.99
8.0.170.0040.00416.80
8.0.160.0030.00516.89
8.0.150.0070.00016.82
8.0.140.0070.00016.86
8.0.130.0050.00013.40
8.0.120.0000.00716.76
8.0.110.0000.00816.68
8.0.100.0070.00016.95
8.0.90.0050.00316.92
8.0.80.0100.00716.95
8.0.70.0050.00516.72
8.0.60.0000.00716.79
8.0.50.0030.00516.91
8.0.30.0090.01017.22
8.0.20.0100.00717.40
8.0.10.0030.00716.99
8.0.00.0160.00516.71
7.4.330.0050.00014.84
7.4.320.0000.00816.58
7.4.300.0060.00016.50
7.4.290.0070.00016.51
7.4.280.0000.00716.53
7.4.270.0040.00416.62
7.4.260.0030.00313.28
7.4.250.0070.00016.61
7.4.240.0030.00416.59
7.4.230.0040.00416.60
7.4.220.0230.00316.40
7.4.210.0060.01116.52
7.4.200.0080.00016.63
7.4.190.0000.00716.64
7.4.160.0100.00716.47
7.4.150.0070.01017.40
7.4.140.0080.01317.86
7.4.130.0100.00716.42
7.4.120.0070.01016.54
7.4.110.0110.00616.31
7.4.100.0100.00716.43
7.4.90.0110.00616.33
7.4.80.0100.00719.39
7.4.70.0140.00316.36
7.4.60.0070.01116.32
7.4.50.0000.00716.38
7.4.40.0090.00622.77
7.4.30.0070.01016.36
7.4.00.0080.00814.89
7.3.330.0060.00013.19
7.3.320.0110.00313.00
7.3.310.0000.00716.30
7.3.300.0070.00016.25
7.3.290.0090.00616.32
7.3.280.0110.00616.22
7.3.270.0110.00617.40
7.3.260.0120.01118.24
7.3.250.0140.00616.51
7.3.240.0040.01516.20
7.3.230.0090.00916.39
7.3.210.0100.01016.29
7.3.200.0140.00719.39
7.3.190.0100.01416.45
7.3.180.0120.00316.33
7.3.170.0080.00816.50
7.3.160.0080.00816.52
7.3.120.0100.00614.96
7.3.110.0070.01014.66
7.3.100.0070.00714.91
7.3.90.0060.00314.61
7.3.80.0000.01514.91
7.3.70.0080.00414.91
7.3.60.0070.01014.77
7.3.50.0060.01214.52
7.3.40.0040.01214.77
7.3.30.0040.00814.57
7.3.20.0040.01116.72
7.3.10.0040.01416.59
7.3.00.0030.01016.61
7.2.330.0090.00916.77
7.2.320.0140.00716.77
7.2.310.0150.00316.54
7.2.300.0130.00516.77
7.2.290.0030.01616.70
7.2.250.0090.00915.09
7.2.240.0110.00715.24
7.2.230.0000.01515.27
7.2.220.0030.01015.17
7.2.210.0040.01415.01
7.2.200.0090.00614.93
7.2.190.0070.00314.75
7.2.180.0080.00815.11
7.2.170.0070.00715.10
7.2.160.0030.00915.05
7.2.150.0030.01316.99
7.2.140.0090.00917.02
7.2.130.0050.01016.73
7.2.120.0040.01116.82
7.2.110.0030.01116.89
7.2.100.0130.00317.09
7.2.90.0000.01617.14
7.2.80.0030.01216.66
7.2.70.0040.01216.64
7.2.60.0080.00416.88
7.2.50.0000.01316.70
7.2.40.0040.00716.71
7.2.30.0100.00616.68
7.2.20.0030.00917.05
7.2.10.0030.00916.87
7.2.00.0070.00718.21
7.1.330.0000.01615.95
7.1.320.0100.00715.86
7.1.310.0030.01015.93
7.1.300.0070.01015.75
7.1.290.0080.00415.80
7.1.280.0130.00015.80
7.1.270.0000.01315.64
7.1.260.0060.01215.84
7.1.250.0090.00315.51
7.1.240.0100.01015.75
7.1.230.0040.01115.89
7.1.220.0090.00915.99
7.1.210.0030.01415.57
7.1.200.0030.01215.71
7.1.190.0070.00315.89
7.1.180.0060.00315.59
7.1.170.0060.00915.79
7.1.160.0040.01215.54
7.1.150.0060.00615.91
7.1.140.0040.00815.52
7.1.130.0090.00615.80
7.1.120.0030.01015.57
7.1.110.0040.01115.71
7.1.100.0030.01116.77
7.1.90.0090.00015.66
7.1.80.0070.00715.71
7.1.70.0080.00516.45
7.1.60.0130.00817.52
7.1.50.0080.00816.35
7.1.40.0090.00815.71
7.1.30.0090.00915.63
7.1.20.0000.01515.85
7.1.10.0090.00615.88
7.1.00.0020.02519.02
7.0.330.0090.00315.35
7.0.320.0120.00615.32
7.0.310.0090.00615.57
7.0.300.0080.00615.43
7.0.290.0060.00315.20
7.0.280.0060.00315.36
7.0.270.0030.00515.23
7.0.260.0030.00715.18
7.0.250.0040.01115.28
7.0.240.0030.01015.32
7.0.230.0100.00315.32
7.0.220.0030.00915.30
7.0.210.0090.00615.34
7.0.200.0080.00416.15
7.0.190.0070.00715.43
7.0.180.0000.01215.37
7.0.170.0070.00715.15
7.0.160.0070.00715.39
7.0.150.0030.00615.31
7.0.140.0080.03818.53
7.0.130.0030.00615.36
7.0.120.0110.00315.41
7.0.110.0040.01215.53
7.0.100.0090.00615.37
7.0.90.0040.00915.50
7.0.80.0030.00615.14
7.0.70.0040.02718.66
7.0.60.0050.03018.64
7.0.50.0030.04218.82
7.0.40.0060.02016.72
7.0.30.0020.02716.76
7.0.20.0070.02316.83
7.0.10.0030.02616.90
7.0.00.0020.04116.81
5.6.400.0090.00614.03
5.6.390.0040.01114.42
5.6.380.0160.00014.11
5.6.370.0040.01114.23
5.6.360.0040.01114.27
5.6.350.0030.01014.24
5.6.340.0000.01413.94
5.6.330.0100.00314.38
5.6.320.0030.00914.42
5.6.310.0040.01114.44
5.6.300.0030.01214.10
5.6.290.0040.01113.97
5.6.280.0070.03717.67
5.6.270.0120.00314.05
5.6.260.0000.01714.20
5.6.250.0130.00014.44
5.6.240.0030.00914.30
5.6.230.0110.00314.39
5.6.220.0020.02817.57
5.6.210.0110.04117.44
5.6.200.0060.05317.69
5.6.190.0080.03717.69
5.6.180.0060.02317.83
5.6.170.0050.02317.64
5.6.160.0050.03117.68
5.6.150.0050.02317.73
5.6.140.0060.04317.75
5.6.130.0050.02517.72
5.6.120.0020.02717.69
5.6.110.0020.04417.62
5.6.100.0070.02317.64
5.6.90.0030.02117.70
5.6.80.0030.02717.23
5.6.70.0030.02417.24
5.6.60.0050.02017.33
5.6.50.0050.02517.26
5.6.40.0030.02117.28
5.6.30.0060.02217.28
5.6.20.0060.02117.36
5.6.10.0050.03817.25
5.6.00.0060.02317.30
5.5.380.0030.00614.09
5.5.370.0040.01113.96
5.5.360.0100.03917.13
5.5.350.0020.04817.16
5.5.340.0050.03717.18
5.5.330.0090.02517.36
5.5.320.0020.02817.41
5.5.310.0100.02817.41
5.5.300.0050.03217.44
5.5.290.0020.02617.41
5.5.280.0030.02317.35
5.5.270.0030.02217.26
5.5.260.0070.02017.50
5.5.250.0030.02617.30
5.5.240.0040.02417.01
5.5.230.0040.02017.20
5.5.220.0030.02017.18
5.5.210.0050.02317.19
5.5.200.0060.02117.01
5.5.190.0000.02616.93
5.5.180.0000.02917.05
5.5.170.0060.00314.06
5.5.160.0050.02417.25
5.5.150.0040.02417.01
5.5.140.0030.02517.04
5.5.130.0000.02717.04
5.5.120.0040.02317.23
5.5.110.0020.02416.94
5.5.100.0060.02217.04
5.5.90.0020.02517.04
5.5.80.0020.03717.01
5.5.70.0090.02317.05
5.5.60.0040.02317.11
5.5.50.0050.02817.14
5.5.40.0040.04216.86
5.5.30.0030.02817.12
5.5.20.0080.02217.07
5.5.10.0110.02917.09
5.5.00.0030.03717.05
5.4.450.0040.02215.00
5.4.440.0030.02315.13
5.4.430.0000.03215.12
5.4.420.0050.02015.22
5.4.410.0030.01815.11
5.4.400.0000.02614.92
5.4.390.0000.02414.82
5.4.380.0020.02914.92
5.4.370.0030.02415.05
5.4.360.0000.02414.87
5.4.350.0050.02614.87
5.4.340.0020.03214.78
5.4.330.0080.00310.77
5.4.320.0060.01914.92
5.4.310.0030.02114.93
5.4.300.0040.02014.90
5.4.290.0030.02014.96
5.4.280.0040.02314.95
5.4.270.0000.02414.78
5.4.260.0080.01814.98
5.4.250.0020.02214.94
5.4.240.0020.02014.81
5.4.230.0050.02914.89
5.4.220.0030.04014.96
5.4.210.0040.02914.83
5.4.200.0020.02114.90
5.4.190.0050.02515.06
5.4.180.0050.02814.79
5.4.170.0050.03414.96
5.4.160.0070.03514.83
5.4.150.0050.02714.99
5.4.140.0030.03113.58
5.4.130.0060.04213.59
5.4.120.0030.03613.56
5.4.110.0030.03813.49
5.4.100.0060.02713.56
5.4.90.0060.04013.51
5.4.80.0020.04513.60
5.4.70.0030.03313.69
5.4.60.0020.04313.59
5.4.50.0020.02613.59
5.4.40.0030.02013.52
5.4.30.0080.03613.48
5.4.20.0050.03513.50
5.4.10.0030.03613.50
5.4.00.0070.03513.30
5.3.290.0060.02112.70
5.3.280.0080.02712.66
5.3.270.0030.03112.62
5.3.260.0080.04012.68
5.3.250.0080.02712.68
5.3.240.0080.03112.69
5.3.230.0060.03612.69
5.3.220.0060.04012.60
5.3.210.0080.04112.66
5.3.200.0090.03712.59
5.3.190.0030.04512.67
5.3.180.0050.03112.67
5.3.170.0080.04012.65
5.3.160.0080.03112.58
5.3.150.0050.04112.66
5.3.140.0080.02512.64
5.3.130.0120.02812.65
5.3.120.0080.03812.59
5.3.110.0040.03512.66
5.3.100.0070.03912.41
5.3.90.0040.04412.35
5.3.80.0090.03712.32
5.3.70.0030.03912.28
5.3.60.0080.03812.34
5.3.50.0070.03412.35
5.3.40.0050.03012.35
5.3.30.0040.04312.29
5.3.20.0050.03012.21
5.3.10.0020.03512.21
5.3.00.0030.05012.08
5.2.170.0000.04312.25
5.2.160.0070.06012.25
5.2.150.0070.06012.25
5.2.140.0070.05312.25
5.2.130.0070.05712.25
5.2.120.0000.05712.25
5.2.110.0000.04712.25
5.2.100.0030.05012.25
5.2.90.0070.06012.25
5.2.80.0030.06012.25
5.2.70.0100.05312.25
5.2.60.0030.06012.25
5.2.50.0030.05312.25
5.2.40.0030.05312.25
5.2.30.0000.06012.25
5.2.20.0030.06312.25
5.2.10.0000.06312.25
5.2.00.0000.06312.25
5.1.60.0000.05312.25
5.1.50.0000.05712.25
5.1.40.0000.05312.25
5.1.30.0070.05312.25
5.1.20.0100.05312.25
5.1.10.0000.05712.25
5.1.00.0000.05712.25
5.0.50.0030.03012.25
5.0.40.0000.03312.25
5.0.30.0030.06712.25
5.0.20.0030.03012.25
5.0.10.0030.04312.25
5.0.00.0000.06312.25
4.4.90.0070.03012.25
4.4.80.0000.03712.25
4.4.70.0030.02312.25
4.4.60.0000.02712.25
4.4.50.0030.02312.25
4.4.40.0070.05012.25
4.4.30.0000.02312.25
4.4.20.0000.03712.25
4.4.10.0070.02712.25
4.4.00.0000.05712.25
4.3.110.0000.02312.25
4.3.100.0030.03312.25
4.3.90.0000.02312.25
4.3.80.0030.05012.25
4.3.70.0000.03712.25
4.3.60.0030.02712.25
4.3.50.0030.03312.25
4.3.40.0030.04712.25
4.3.30.0000.03312.25
4.3.20.0000.03712.25
4.3.10.0000.03012.25
4.3.00.0000.02712.25

preferences:
42.63 ms | 400 KiB | 5 Q