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 "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.0190.00318.43
8.3.50.0120.00321.09
8.3.40.0110.00418.67
8.3.30.0090.01218.59
8.3.20.0030.00618.35
8.3.10.0040.00420.90
8.3.00.0000.00721.81
8.2.180.0100.01018.16
8.2.170.0090.00622.96
8.2.160.0030.01020.52
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0000.00826.16
8.2.120.0040.00420.71
8.2.110.0040.00420.54
8.2.100.0000.01217.84
8.2.90.0000.00919.03
8.2.80.0000.00817.97
8.2.70.0080.00017.63
8.2.60.0000.00817.80
8.2.50.0090.00018.07
8.2.40.0000.00818.16
8.2.30.0030.00621.29
8.2.20.0040.00417.71
8.2.10.0040.00417.74
8.2.00.0000.00917.80
8.1.280.0150.00425.92
8.1.270.0050.00323.99
8.1.260.0080.00026.35
8.1.250.0030.00728.09
8.1.240.0150.00622.45
8.1.230.0040.00820.99
8.1.220.0000.00818.77
8.1.210.0000.00818.97
8.1.200.0080.00017.23
8.1.190.0030.00519.18
8.1.180.0050.00318.10
8.1.170.0080.00018.52
8.1.160.0040.00418.89
8.1.150.0040.00318.63
8.1.140.0080.00017.37
8.1.130.0070.00017.70
8.1.120.0000.00717.37
8.1.110.0030.00517.28
8.1.100.0040.00417.45
8.1.90.0070.00017.42
8.1.80.0090.00017.51
8.1.70.0070.00017.46
8.1.60.0000.00917.57
8.1.50.0000.00817.39
8.1.40.0050.00317.54
8.1.30.0000.00717.58
8.1.20.0030.00617.62
8.1.10.0000.00717.47
8.1.00.0040.00417.35
8.0.300.0040.00419.91
8.0.290.0030.00617.04
8.0.280.0000.00718.44
8.0.270.0000.00717.13
8.0.260.0050.00316.77
8.0.250.0040.00416.84
8.0.240.0050.00316.96
8.0.230.0000.00716.85
8.0.220.0040.00416.87
8.0.210.0000.00716.76
8.0.200.0030.00316.92
8.0.190.0060.00316.93
8.0.180.0030.00316.95
8.0.170.0000.00916.74
8.0.160.0040.00416.84
8.0.150.0000.00816.75
8.0.140.0040.00416.73
8.0.130.0000.00513.36
8.0.120.0040.00416.86
8.0.110.0040.00416.95
8.0.100.0040.00416.88
8.0.90.0070.00016.69
8.0.80.0060.01016.91
8.0.70.0050.00216.75
8.0.60.0070.00016.87
8.0.50.0040.00416.85
8.0.30.0100.01217.13
8.0.20.0110.00817.40
8.0.10.0040.00416.79
8.0.00.0090.01016.74
7.4.330.0050.00016.65
7.4.320.0000.00616.60
7.4.300.0030.00316.60
7.4.290.0030.00316.51
7.4.280.0030.00316.54
7.4.270.0070.00016.43
7.4.260.0030.00313.29
7.4.250.0000.00716.49
7.4.240.0030.00316.54
7.4.230.0030.00316.37
7.4.220.0080.01116.43
7.4.210.0070.00816.59
7.4.200.0020.00516.61
7.4.190.0040.00416.50
7.4.160.0090.01316.34
7.4.150.0060.01217.40
7.4.140.0100.00817.86
7.4.130.0120.00916.38
7.4.120.0090.01016.58
7.4.110.0140.00716.57
7.4.100.0140.00316.43
7.4.90.0130.00916.60
7.4.80.0030.01319.39
7.4.70.0130.00616.30
7.4.60.0060.01016.32
7.4.50.0000.00516.38
7.4.40.0030.01022.77
7.4.30.0070.01016.43
7.4.10.0090.00614.96
7.4.00.0070.01214.89
7.3.330.0000.00613.01
7.3.320.0000.00512.99
7.3.310.0030.00316.19
7.3.300.0000.00616.29
7.3.290.0130.00616.36
7.3.280.0100.00716.32
7.3.270.0100.00717.40
7.3.260.0110.00718.24
7.3.250.0110.00816.26
7.3.240.0130.00316.47
7.3.230.0120.00616.39
7.3.210.0090.00916.40
7.3.200.0160.00619.39
7.3.190.0060.00916.25
7.3.180.0120.00316.30
7.3.170.0100.00716.41
7.3.160.0110.00816.46
7.3.130.0060.00814.55
7.3.120.0070.01014.58
7.3.110.0070.01114.64
7.3.100.0120.00314.91
7.3.90.0070.00714.78
7.3.80.0000.01214.47
7.3.70.0070.00714.92
7.3.60.0060.00314.92
7.3.50.0060.00314.87
7.3.40.0030.00714.69
7.3.30.0060.00914.71
7.3.20.0090.00616.49
7.3.10.0090.00316.37
7.3.00.0080.00016.39
7.2.330.0150.00316.74
7.2.320.0040.01416.82
7.2.310.0070.01416.76
7.2.300.0140.00616.50
7.2.290.0100.00716.71
7.2.260.0030.01415.20
7.2.250.0130.00715.36
7.2.240.0060.00915.09
7.2.230.0060.01014.87
7.2.220.0060.00315.25
7.2.210.0070.00715.20
7.2.200.0060.00914.84
7.2.190.0080.00415.14
7.2.180.0000.01014.89
7.2.170.0040.00415.13
7.2.160.0000.01714.79
7.2.150.0060.01017.05
7.2.140.0040.00717.03
7.2.130.0070.00716.94
7.2.120.0140.00017.05
7.2.110.0060.00917.05
7.2.100.0030.01016.78
7.2.90.0040.01117.11
7.2.80.0030.01316.95
7.2.70.0060.00616.98
7.2.60.0070.00717.02
7.2.50.0090.00617.02
7.2.40.0070.01016.89
7.2.30.0070.00717.09
7.2.20.0030.01616.86
7.2.10.0000.01516.71
7.2.00.0080.00818.28
7.1.330.0060.00915.93
7.1.320.0080.00616.05
7.1.310.0060.00315.96
7.1.300.0000.01515.89
7.1.290.0030.00715.89
7.1.280.0100.00615.82
7.1.270.0060.00615.86
7.1.260.0000.01515.87
7.1.250.0000.01515.96
7.1.240.0090.00615.58
7.1.230.0030.01415.83
7.1.220.0060.00615.94
7.1.210.0070.00715.96
7.1.200.0070.00415.62
7.1.190.0060.00815.92
7.1.180.0000.00815.78
7.1.170.0080.00415.82
7.1.160.0070.00715.93
7.1.150.0030.00715.63
7.1.140.0060.01215.95
7.1.130.0030.00615.76
7.1.120.0060.00615.73
7.1.110.0100.00315.93
7.1.100.0070.00716.81
7.1.90.0030.01215.89
7.1.80.0040.00815.79
7.1.70.0080.00516.55
7.1.60.0060.01317.70
7.1.50.0060.00916.27
7.1.40.0060.00915.80
7.1.30.0090.00415.70
7.1.20.0060.00615.85
7.1.10.0030.00615.81
7.1.00.0030.04219.04
7.0.330.0070.00315.04
7.0.320.0030.01015.05
7.0.310.0030.00615.00
7.0.300.0060.00615.23
7.0.290.0000.01115.49
7.0.280.0000.01515.14
7.0.270.0030.00615.38
7.0.260.0090.00615.46
7.0.250.0000.01415.42
7.0.240.0070.01015.23
7.0.230.0040.00715.53
7.0.220.0040.00815.21
7.0.210.0000.01215.55
7.0.200.0050.00816.15
7.0.190.0100.00615.42
7.0.180.0090.00615.32
7.0.170.0050.00515.38
7.0.160.0040.00815.49
7.0.150.0080.00815.18
7.0.140.0040.03918.57
7.0.130.0120.00315.16
7.0.120.0050.00315.16
7.0.110.0070.00315.28
7.0.100.0000.01415.25
7.0.90.0110.00015.38
7.0.80.0040.04417.63
7.0.70.0080.04317.65
7.0.60.0030.03217.60
7.0.50.0060.03517.94
7.0.40.0090.04417.00
7.0.30.0110.04316.99
7.0.20.0030.04616.99
7.0.10.0100.04016.98
7.0.00.0080.03916.98
5.6.400.0060.00914.44
5.6.390.0060.00914.15
5.6.380.0070.00714.01
5.6.370.0030.00614.11
5.6.360.0060.00914.17
5.6.350.0000.00914.21
5.6.340.0030.01014.43
5.6.330.0000.00914.46
5.6.320.0060.01214.56
5.6.310.0030.01313.89
5.6.300.0060.00914.06
5.6.290.0060.01014.32
5.6.280.0050.03917.68
5.6.270.0040.00714.12
5.6.260.0030.01014.00
5.6.250.0000.01614.18
5.6.240.0030.00814.23
5.6.230.0030.04317.38
5.6.220.0020.03617.46
5.6.210.0050.03217.54
5.6.200.0100.03117.62
5.6.190.0070.03817.71
5.6.180.0070.03517.62
5.6.170.0070.04317.66
5.6.160.0080.04617.53
5.6.150.0050.03417.46
5.6.140.0050.02317.70
5.6.130.0070.03717.59
5.6.120.0080.04617.74
5.6.110.0030.04917.68
5.6.100.0120.03817.59
5.6.90.0060.04317.48
5.6.80.0020.04417.19
5.6.70.0080.02317.17
5.6.60.0100.03617.28
5.6.50.0070.04517.40
5.6.40.0050.04317.35
5.6.30.0070.04217.21
5.6.20.0070.04317.14
5.6.10.0080.03817.17
5.6.00.0060.02917.17
5.5.380.0100.00313.89
5.5.370.0000.04817.31
5.5.360.0070.04317.34
5.5.350.0060.04017.35
5.5.340.0050.03117.37
5.5.330.0070.02917.46
5.5.320.0050.04517.53
5.5.310.0110.04217.45
5.5.300.0070.03517.50
5.5.290.0020.03717.47
5.5.280.0090.04217.47
5.5.270.0080.04217.45
5.5.260.0050.03017.44
5.5.250.0050.04417.35
5.5.240.0050.03917.17
5.5.230.0030.04016.95
5.5.220.0030.04517.25
5.5.210.0100.03717.22
5.5.200.0030.04817.16
5.5.190.0080.04217.01
5.5.180.0070.04217.05
5.5.170.0060.00914.07
5.5.160.0060.04317.14
5.5.150.0070.04417.07
5.5.140.0080.04417.05
5.5.130.0080.04217.21
5.5.120.0030.03917.09
5.5.110.0110.03717.14
5.5.100.0050.02517.00
5.5.90.0020.03517.12
5.5.80.0090.02117.11
5.5.70.0120.03316.93
5.5.60.0020.03417.04
5.5.50.0100.03716.97
5.5.40.0090.02617.15
5.5.30.0100.03017.06
5.5.20.0030.03117.05
5.5.10.0090.02517.00
5.5.00.0030.03217.00
5.4.450.0060.02516.67
5.4.440.0030.03516.66
5.4.430.0030.04316.60
5.4.420.0020.04516.61
5.4.410.0020.02516.57
5.4.400.0050.03816.48
5.4.390.0080.02216.44
5.4.380.0080.03316.49
5.4.370.0030.03916.46
5.4.360.0080.03916.44
5.4.350.0050.04216.48
5.4.340.0090.03616.48
5.4.330.0060.00313.89
5.4.320.0170.03316.47
5.4.310.0020.04516.47
5.4.300.0080.02816.40
5.4.290.0060.04116.34
5.4.280.0050.02816.56
5.4.270.0050.02516.50
5.4.260.0070.04216.49
5.4.250.0030.02116.39
5.4.240.0050.04516.46
5.4.230.0080.03316.56
5.4.220.0080.02316.52
5.4.210.0070.03816.51
5.4.200.0080.04016.54
5.4.190.0100.02516.52
5.4.180.0030.02816.42
5.4.170.0070.03916.35
5.4.160.0070.03016.42
5.4.150.0070.03216.49
5.4.140.0050.03915.10
5.4.130.0000.03915.09
5.4.120.0090.03715.11
5.4.110.0050.02715.06
5.4.100.0060.02515.12
5.4.90.0100.03315.06
5.4.80.0050.02515.14
5.4.70.0020.04315.14
5.4.60.0020.04215.09
5.4.50.0060.02715.11
5.4.40.0030.02315.18
5.4.30.0080.02515.06
5.4.20.0100.03615.09
5.4.10.0030.03815.12
5.4.00.0040.03114.83
5.3.290.0090.04014.27
5.3.280.0040.03214.22
5.3.270.0110.03814.18
5.3.260.0060.04114.20
5.3.250.0090.03814.24
5.3.240.0050.03114.22
5.3.230.0110.02814.23
5.3.220.0050.04214.21
5.3.210.0020.02914.22
5.3.200.0030.03914.16
5.3.190.0080.03514.16
5.3.180.0030.04314.23
5.3.170.0040.04214.16
5.3.160.0070.04014.16
5.3.150.0030.03614.21
5.3.140.0080.02514.19
5.3.130.0050.03014.20
5.3.120.0070.03214.20
5.3.110.0060.04314.20
5.3.100.0090.03713.94
5.3.90.0020.04113.92
5.3.80.0120.03313.95
5.3.70.0120.02213.92
5.3.60.0070.03813.94
5.3.50.0030.04013.91
5.3.40.0030.03113.92
5.3.30.0070.02513.83
5.3.20.0050.03813.77
5.3.10.0000.04113.77
5.3.00.0070.03813.69
5.2.170.0070.06311.70
5.2.160.0030.04711.70
5.2.150.0100.04711.70
5.2.140.0070.05711.70
5.2.130.0070.06011.70
5.2.120.0100.05711.70
5.2.110.0000.06711.70
5.2.100.0030.06311.70
5.2.90.0100.05711.70
5.2.80.0070.04311.70
5.2.70.0100.03011.70
5.2.60.0070.05711.70
5.2.50.0100.06011.70
5.2.40.0030.04711.70
5.2.30.0200.05311.70
5.2.20.0070.06011.70
5.2.10.0030.07011.70
5.2.00.0030.04711.70
5.1.60.0070.02711.70
5.1.50.0100.02711.70
5.1.40.0000.03311.70
5.1.30.0070.06011.70
5.1.20.0030.05711.70
5.1.10.0130.02311.70
5.1.00.0000.03011.70
5.0.50.0030.02711.70
5.0.40.0030.02311.70
5.0.30.0030.03711.70
5.0.20.0000.03711.70
5.0.10.0000.03311.70
5.0.00.0000.06311.70
4.4.90.0030.03011.70
4.4.80.0070.02011.70
4.4.70.0170.02011.70
4.4.60.0070.03011.70
4.4.50.0000.03011.70
4.4.40.0000.03011.70
4.4.30.0070.01711.70
4.4.20.0030.01711.70
4.4.10.0000.02011.70
4.4.00.0030.02711.70
4.3.110.0000.02311.70
4.3.100.0030.03311.70
4.3.90.0000.03311.70
4.3.80.0030.05311.70
4.3.70.0100.02711.70
4.3.60.0000.03011.70
4.3.50.0000.02311.70
4.3.40.0030.03011.70
4.3.30.0030.03311.70
4.3.20.0030.03311.70
4.3.10.0030.03311.70
4.3.00.0000.03711.70

preferences:
52.72 ms | 401 KiB | 5 Q