3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password = "test"; echo "$password \n"; $hashToStoreInDb = password_hash($password, PASSWORD_BCRYPT); echo " $hashToStoreInDb \n"; $isPasswordCorrect = password_verify($password, $hashToStoreInDb); echo "$isPasswordCorrect \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)
7.2.60.0070.13416.85
7.2.00.0000.13819.25
7.1.200.0100.12415.77
7.1.100.0030.13418.24
7.1.70.0000.13316.86
7.1.60.0070.16219.46
7.1.50.0070.19516.71
7.1.00.0130.23022.57
7.0.200.0070.12716.55
7.0.140.0030.22321.98
7.0.60.0070.15319.98
7.0.50.0030.17017.88
7.0.40.0070.19320.04
7.0.30.0430.18720.34
7.0.20.0330.19720.08
7.0.10.0070.20720.24
7.0.00.0000.20720.09
5.6.280.0100.24020.78
5.6.210.0200.21020.60
5.6.200.0030.16318.16
5.6.190.0100.18320.65
5.6.180.0230.17020.67
5.6.170.0270.18720.47
5.6.160.0000.22320.43
5.6.150.0170.20318.07
5.6.140.0100.16718.14
5.6.130.0070.21718.28
5.6.120.0000.19321.00
5.6.110.0100.21720.98
5.6.100.0030.23021.11
5.6.90.0000.16721.09
5.6.80.0100.22720.50
5.5.350.0230.21720.29
5.5.340.0030.16317.92
5.5.330.0000.17020.37
5.5.320.0030.19720.25
5.5.310.0370.17020.50
5.5.300.0100.18017.94
5.5.290.0030.22717.93
5.5.280.0130.21320.75
5.5.270.0230.20720.87
5.5.260.0030.20720.78
5.5.250.0130.23020.59
5.5.240.0200.16320.06
5.4.450.0370.06719.58
5.4.440.0170.04719.25
5.4.430.0300.07319.40
5.4.420.0270.03719.40
5.4.410.0130.04719.34
5.4.400.0300.04018.89
5.4.390.0170.05319.13
5.4.380.0300.04719.10
5.4.370.0330.06718.92
5.4.360.0300.05018.92
5.4.350.0270.05719.08
5.4.340.0270.06719.09
5.4.320.0330.07319.25
5.4.310.0370.06319.25
5.4.300.0270.07019.13
5.4.290.0330.03318.93
5.4.280.0270.05018.80
5.4.270.0330.07018.93
5.4.260.0230.03319.09
5.4.250.0170.04719.08
5.4.240.0270.06318.78
5.4.230.0230.06319.08
5.4.220.0230.03718.87
5.4.210.0270.05019.09
5.4.200.0230.05019.05
5.4.190.0230.03719.23
5.4.180.0300.03319.07
5.4.170.0330.04719.23
5.4.160.0270.03719.22
5.4.150.0330.06319.07
5.4.140.0370.04016.19
5.4.130.0230.04316.20
5.4.120.0330.05016.26
5.4.110.0300.04716.38
5.4.100.0170.04016.22
5.4.90.0170.04016.06
5.4.80.0170.04016.19
5.4.70.0230.03716.44
5.4.60.0230.02716.37
5.4.50.0100.05016.43
5.4.40.0130.04316.36
5.4.30.0230.02716.36
5.4.20.0230.06016.16
5.4.10.0100.04716.27
5.4.00.0130.04715.61
5.3.290.0370.06314.75
5.3.280.0330.06314.42
5.3.270.0300.07714.46
5.3.260.0200.06014.51
5.3.250.0370.06314.45
5.3.240.0300.07014.71
5.3.230.0270.06714.68
5.3.220.0230.07314.40
5.3.210.0270.04314.44
5.3.200.0370.06014.41
5.3.190.0270.03014.65
5.3.180.0270.03014.51
5.3.170.0170.04014.51
5.3.160.0170.03714.59
5.3.150.0200.03714.41
5.3.140.0200.03314.50
5.3.130.0200.03314.49
5.3.120.0200.03714.38
5.3.110.0130.04014.38
5.3.100.0130.04313.89
5.3.90.0300.03313.87
5.3.80.0200.03313.87
5.3.70.0230.03013.96
5.3.60.0170.03713.95
5.3.50.0230.03013.74
5.3.40.0230.03313.85
5.3.30.0200.03013.82
5.3.20.0200.03013.73
5.3.10.0170.04713.50
5.3.00.0170.04013.58
5.2.170.0130.03012.20
5.2.160.0070.03312.20
5.2.150.0030.03712.20
5.2.140.0200.02712.20
5.2.130.0130.04012.20
5.2.120.0170.02312.20
5.2.110.0200.02012.20
5.2.100.0230.02312.20
5.2.90.0170.03012.20
5.2.80.0100.03712.20
5.2.70.0170.02712.20
5.2.60.0130.02712.20
5.2.50.0100.03312.20
5.2.40.0130.02712.20
5.2.30.0070.03312.20
5.2.20.0130.02712.20
5.2.10.0070.03312.20
5.2.00.0170.02312.20
5.1.60.0130.02312.20
5.1.50.0130.02012.20
5.1.40.0170.01712.20
5.1.30.0130.03012.20
5.1.20.0100.02712.20
5.1.10.0100.02712.20
5.1.00.0100.03012.20
5.0.50.0070.04012.20
5.0.40.0070.04712.20
5.0.30.0100.04712.20
5.0.20.0100.02312.20
5.0.10.0030.02712.20
5.0.00.0070.04312.20
4.4.90.0030.01712.20
4.4.80.0030.01712.20
4.4.70.0070.01312.20
4.4.60.0030.01712.20
4.4.50.0000.02012.20
4.4.40.0100.02312.20
4.4.30.0030.01712.20
4.4.20.0030.02012.20
4.4.10.0100.02712.20
4.4.00.0030.03312.20
4.3.110.0070.03012.20
4.3.100.0030.02712.20
4.3.90.0000.02312.20
4.3.80.0070.03012.20
4.3.70.0070.03312.20
4.3.60.0070.03712.20
4.3.50.0100.02712.20
4.3.40.0100.03712.20
4.3.30.0070.03312.20
4.3.20.0070.02312.20
4.3.10.0000.03312.20
4.3.00.0070.02312.20

preferences:
39.32 ms | 401 KiB | 5 Q