3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump($hash = password_hash('foo', PASSWORD_DEFAULT), crypt('foo', $hash) === $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)
7.2.60.0070.12616.65
7.1.200.0070.12815.65
7.1.70.0270.13117.13
7.1.60.0130.19219.24
7.1.50.0070.13916.92
7.1.00.0000.24322.40
7.0.200.0100.12616.55
7.0.140.0030.22721.99
7.0.100.0270.22019.99
7.0.90.0030.22319.89
7.0.80.0070.22019.88
7.0.70.0100.20719.98
7.0.60.0100.18319.90
7.0.50.0100.22720.30
7.0.40.0070.17320.13
7.0.30.0030.17020.12
7.0.20.0100.19020.09
7.0.10.0030.16319.95
7.0.00.0030.22020.14
5.6.280.0000.23020.86
5.6.250.0130.21720.63
5.6.240.0000.24720.75
5.6.230.0100.18720.53
5.6.220.0130.20720.57
5.6.210.0030.18720.55
5.6.200.0030.16721.05
5.6.190.0130.20020.94
5.6.180.0070.18321.00
5.6.170.0000.16721.13
5.6.160.0070.18320.88
5.6.150.0170.23021.03
5.6.140.0070.16021.16
5.6.130.0100.17321.01
5.6.120.0130.15721.13
5.6.110.0070.16321.09
5.6.100.0030.14321.02
5.6.90.0070.16721.10
5.6.80.0070.16720.40
5.6.70.0030.17320.54
5.6.60.0200.19020.42
5.6.50.0130.20320.51
5.6.40.0130.18020.43
5.6.30.0100.20320.37
5.6.20.0030.16720.40
5.6.10.0030.22020.47
5.6.00.0100.22720.50
5.5.380.0130.21020.36
5.5.370.0100.22720.54
5.5.360.0030.20020.33
5.5.350.0100.23320.33
5.5.340.0100.21020.87
5.5.330.0100.21320.80
5.5.320.0070.17320.86
5.5.310.0000.16720.79
5.5.300.0170.20020.79
5.5.290.0070.24020.72
5.5.280.0000.17020.90
5.5.270.0070.16320.84
5.5.260.0000.13720.80
5.5.250.0100.17720.56
5.5.240.0000.17020.30
5.5.230.0100.16320.30
5.5.220.0130.20720.15
5.5.210.0130.23020.14
5.5.200.0170.21720.27
5.5.190.0100.19720.11
5.5.180.0100.22020.27
5.5.160.0030.22720.07
5.5.150.0070.19720.20
5.5.140.0100.21320.23
5.5.130.0130.21720.13
5.5.120.0070.18720.21
5.5.110.0030.22320.25
5.5.100.0100.23719.97
5.5.90.0030.21719.96
5.5.80.0100.17320.09
5.5.70.0100.21320.05
5.5.60.0070.20720.07
5.5.50.0170.22320.02
5.5.40.0000.21020.05
5.5.30.0030.21320.01
5.5.20.0100.22720.13
5.5.10.0170.21320.07
5.5.00.0100.17020.11
5.4.450.0070.05319.23
5.4.440.0030.04019.46
5.4.430.0070.03019.45
5.4.420.0070.07719.34
5.4.410.0070.03319.22
5.4.400.0000.05018.97
5.4.390.0030.05718.79
5.4.380.0130.06019.10
5.4.370.0170.07019.02
5.4.360.0130.06719.12
5.4.350.0100.07719.11
5.4.340.0130.06019.12
5.4.320.0070.07718.95
5.4.310.0030.04319.06
5.4.300.0030.08018.89
5.4.290.0130.07019.02
5.4.280.0130.06319.12
5.4.270.0100.05019.03
5.4.260.0130.06719.14
5.4.250.0070.07319.12
5.4.240.0070.07719.12
5.4.230.0030.06718.93
5.4.220.0070.04319.11
5.4.210.0100.05019.02
5.4.200.0130.07318.80
5.4.190.0130.07018.89
5.4.180.0070.04318.97
5.4.170.0100.06018.93
5.4.160.0030.06719.02
5.4.150.0000.04318.76
5.4.140.0000.07016.27
5.4.130.0030.04016.36
5.4.120.0170.05016.06
5.4.110.0130.07016.40
5.4.100.0170.06316.31
5.4.90.0100.05716.20
5.4.80.0070.06016.40
5.4.70.0100.07316.24
5.4.60.0030.07316.37
5.4.50.0000.04716.33
5.4.40.0030.07716.29
5.4.30.0100.07016.30
5.4.20.0070.07316.41
5.4.10.0070.08316.41
5.4.00.0100.07315.50
5.3.290.0030.04314.52
5.3.280.0070.06714.41
5.3.270.0130.08014.57
5.3.260.0100.07714.46
5.3.250.0030.07714.59
5.3.240.0070.06714.56
5.3.230.0030.07314.55
5.3.220.0070.06314.42
5.3.210.0070.03314.55
5.3.200.0030.06014.57
5.3.190.0130.07314.55
5.3.180.0030.08014.42
5.3.170.0100.05714.53
5.3.160.0030.06314.51
5.3.150.0100.04014.44
5.3.140.0030.04014.37
5.3.130.0100.06314.52
5.3.120.0030.07714.50
5.3.110.0100.06714.38
5.3.100.0100.06714.03
5.3.90.0030.08014.00
5.3.80.0070.05713.92
5.3.70.0070.07013.92
5.3.60.0030.07713.96
5.3.50.0030.08013.80
5.3.40.0100.06713.92
5.3.30.0100.07713.81
5.3.20.0070.07013.68
5.3.10.0070.07013.61
5.3.00.0030.07313.59
5.2.170.0100.06010.97
5.2.160.0070.06711.18
5.2.150.0130.02711.18
5.2.140.0100.05711.17
5.2.130.0000.06311.15
5.2.120.0230.04710.94
5.2.110.0030.04010.92
5.2.100.0070.05710.96
5.2.90.0070.06011.15
5.2.80.0100.05710.95
5.2.70.0000.04311.12
5.2.60.0100.06010.90
5.2.50.0070.03710.96
5.2.40.0100.05710.79
5.2.30.0170.04011.02
5.2.20.0030.06311.00
5.2.10.0100.04310.78
5.2.00.0030.06310.77
5.1.60.0000.05010.04
5.1.50.0030.0309.99
5.1.40.0000.04010.01
5.1.30.0030.02710.39
5.1.20.0030.05310.37
5.1.10.0000.0409.90
5.1.00.0030.06010.08
5.0.50.0000.0338.60
5.0.40.0100.0408.39
5.0.30.0070.0478.22
5.0.20.0030.0338.25
5.0.10.0000.0508.22
5.0.00.0000.0638.22
4.4.90.0000.0408.22
4.4.80.0000.0338.22
4.4.70.0030.0208.22
4.4.60.0070.0178.22
4.4.50.0000.0378.22
4.4.40.0030.0538.22
4.4.30.0000.0338.22
4.4.20.0070.0178.22
4.4.10.0000.0308.22
4.4.00.0030.0508.22
4.3.110.0030.0308.22
4.3.100.0070.0308.22
4.3.90.0070.0138.22
4.3.80.0030.0308.22
4.3.70.0030.0338.22
4.3.60.0000.0378.22
4.3.50.0070.0308.22
4.3.40.0030.0538.22
4.3.30.0070.0238.22
4.3.20.0000.0378.22
4.3.10.0000.0308.22
4.3.00.0000.0308.22

preferences:
37.23 ms | 401 KiB | 5 Q